Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8 kB / 0.8146 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8237, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.000736/0.8245, allocations: 313.5 kB / 0.9539 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.402e-05/0.8246, allocations: 8.875 kB / 0.9539 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.265e-05/0.8246, allocations: 1 kB / 0.9539 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.8246, allocations: 0 / 0.9539 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.8246, allocations: 0 / 0.9539 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.606e-05/0.8247, allocations: 5.094 kB / 0.9539 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.16e-05/0.8247, allocations: 0 / 0.9539 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.8248, allocations: 5.109 kB / 0.9539 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.178e-05/0.8248, allocations: 0 / 0.9539 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.8248, allocations: 1.094 kB / 0.9539 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.8248, allocations: 0 / 0.9539 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.497e-06/0.8248, allocations: 0 / 0.9539 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.492e-06/0.8249, allocations: 0 / 0.9539 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.8249, allocations: 26.86 kB / 0.9539 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.769e-05/0.8249, allocations: 0 / 0.9539 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.8249, allocations: 0 / 0.9539 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8249, allocations: 9 kB / 0.9539 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8249, allocations: 0 / 0.9539 GB, free: 7.816 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001605/0.8251, allocations: 304.5 kB / 0.9542 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8252, allocations: 9.5 kB / 0.9542 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.8252, allocations: 39.69 kB / 0.9543 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.8252, allocations: 7.938 kB / 0.9543 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.241e-05/0.8253, allocations: 163 kB / 0.9544 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.8253, allocations: 1 kB / 0.9544 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.8253, allocations: 1.031 kB / 0.9544 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.465e-05/0.8254, allocations: 30.83 kB / 0.9545 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.8254, allocations: 0 / 0.9545 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.8254, allocations: 0.9062 kB / 0.9545 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8254, allocations: 0 / 0.9545 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.8254, allocations: 4.953 kB / 0.9545 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.054e-05/0.8255, allocations: 147.5 kB / 0.9546 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.251e-05/0.8256, allocations: 23.61 kB / 0.9546 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.8256, allocations: 0.9375 kB / 0.9546 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.8256, allocations: 35.97 kB / 0.9547 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.8256, allocations: 0 / 0.9547 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001048/0.8257, allocations: 29.83 kB / 0.9547 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.8257, allocations: 52.56 kB / 0.9548 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.857e-05/0.8258, allocations: 89.86 kB / 0.9548 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-06/0.8258, allocations: 29.64 kB / 0.9549 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.392e-05/0.8258, allocations: 85.3 kB / 0.9549 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.8258, allocations: 7.969 kB / 0.955 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.8258, allocations: 4 kB / 0.955 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.8259, allocations: 320 kB / 0.9553 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.8259, allocations: 1.5 kB / 0.9553 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-06/0.8259, allocations: 0 / 0.9553 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.399e-05/0.8259, allocations: 1.438 kB / 0.9553 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8259, allocations: 1.281 kB / 0.9553 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.003e-05/0.826, allocations: 30.33 kB / 0.9553 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.826, allocations: 4.906 kB / 0.9553 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.826, allocations: 4.094 kB / 0.9553 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.826, allocations: 1.094 kB / 0.9553 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.8261, allocations: 1.219 kB / 0.9553 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8261, allocations: 5.188 kB / 0.9553 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-06/0.8261, allocations: 0 / 0.9553 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.8261, allocations: 0 / 0.9553 GB, free: 6.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.8262, allocations: 120.2 kB / 0.9554 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-06/0.8262, allocations: 5.094 kB / 0.9554 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.341e-05/0.8262, allocations: 7.109 kB / 0.9554 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.8262, allocations: 5.188 kB / 0.9554 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8262, allocations: 0 / 0.9554 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.8262, allocations: 0 / 0.9554 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.561e-05/0.8263, allocations: 149.1 kB / 0.9556 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8263, allocations: 1.219 kB / 0.9556 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.8263, allocations: 5.297 kB / 0.9556 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.8263, allocations: 0 / 0.9556 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.8263, allocations: 1.219 kB / 0.9556 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.8263, allocations: 0 / 0.9556 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8263, allocations: 0 / 0.9556 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.879e-05/0.8264, allocations: 63.28 kB / 0.9557 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.8264, allocations: 77.11 kB / 0.9557 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.8264, allocations: 5.109 kB / 0.9557 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-06/0.8264, allocations: 4 kB / 0.9557 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.8265, allocations: 1.281 kB / 0.9557 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.8265, allocations: 0 / 0.9557 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.547e-05/0.8265, allocations: 80.53 kB / 0.9558 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8265, allocations: 4.031 kB / 0.9558 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002082/0.8267, allocations: 1.719 kB / 0.9558 GB, free: 5.637 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001869/0.8269, allocations: 0.5881 MB / 0.9564 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.257e-05/0.8269, allocations: 11.16 kB / 0.9564 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.827, allocations: 4.094 kB / 0.9564 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.827, allocations: 5.75 kB / 0.9564 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.728e-05/0.8271, allocations: 5.438 kB / 0.9564 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.8273, allocations: 101.5 kB / 0.9565 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.761e-05/0.8274, allocations: 0.6757 MB / 0.9572 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.141e-05/0.8274, allocations: 1.438 kB / 0.9572 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.8274, allocations: 7.438 kB / 0.9572 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8274, allocations: 0 / 0.9572 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.8381, allocations: 0.6802 MB / 0.9578 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.8382, allocations: 169.2 kB / 0.958 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.565, allocations: 0 / 0.958 GB, free: 3.617 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat does not exist to compare? outputFormat=mat