Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 180 kB / 0.4901 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001027, allocations: 106.5 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003681, allocations: 14.47 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2704, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.4599, allocations: 152.8 MB / 1.379 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4602, allocations: 75.94 kB / 1.379 GB, free: 452 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03001/0.4902, allocations: 13.99 MB / 1.392 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4903, allocations: 0 / 1.392 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000121/0.4904, allocations: 47.94 kB / 1.392 GB, free: 2.379 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.003825/0.4943, allocations: 1.452 MB / 1.394 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.4943, allocations: 8.562 kB / 1.394 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009689/0.4953, allocations: 319.3 kB / 1.394 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/0.496, allocations: 193.7 kB / 1.394 GB, free: 352 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.4982, allocations: 0.859 MB / 1.395 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.4983, allocations: 152.1 kB / 1.395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003941/0.4987, allocations: 200 kB / 1.395 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005233/0.504, allocations: 2.907 MB / 1.398 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.268e-05/0.504, allocations: 7.938 kB / 1.398 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.5043, allocations: 92 kB / 1.398 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/0.5044, allocations: 56 kB / 1.398 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.5073, allocations: 1.732 MB / 1.4 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.5186, allocations: 10.88 MB / 1.411 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.783e-05/0.5187, allocations: 177.1 kB / 1.411 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.5188, allocations: 79.28 kB / 1.411 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.5188, allocations: 109.8 kB / 1.411 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.5188, allocations: 0 / 1.411 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 0.0003782/0.5192, allocations: 207.3 kB / 1.411 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.5193, allocations: 126.7 kB / 1.411 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/0.5237, allocations: 3.06 MB / 1.414 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.5237, allocations: 29.7 kB / 1.414 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007733/0.5245, allocations: 0.7684 MB / 1.415 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-06/0.5245, allocations: 0 / 1.415 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-07/0.5245, allocations: 0 / 1.415 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5247, allocations: 313.9 kB / 1.416 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-06/0.5247, allocations: 0 / 1.416 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.5247, allocations: 0 / 1.416 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.5247, allocations: 79.28 kB / 1.416 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.558e-05/0.5248, allocations: 75.28 kB / 1.416 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000371/0.5252, allocations: 215.2 kB / 1.416 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.5252, allocations: 83.28 kB / 1.416 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.5252, allocations: 79.22 kB / 1.416 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.356e-05/0.5253, allocations: 150.6 kB / 1.416 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.873e-05/0.5254, allocations: 75.28 kB / 1.416 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-05/0.5254, allocations: 162.5 kB / 1.416 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.5259, allocations: 162 kB / 1.417 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.5259, allocations: 87.2 kB / 1.417 GB, free: 8.695 MB / 0.9167 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 (0): * Single equations (assignments): 0 * 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 0.000765/0.5267, allocations: 0.739 MB / 1.417 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.527, allocations: 278.6 kB / 1.418 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.5273, allocations: 330.4 kB / 1.418 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.049e-05/0.5274, allocations: 184.4 kB / 1.418 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.209e-05/0.5275, allocations: 176.3 kB / 1.418 GB, free: 6.961 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.317e-05/0.5276, allocations: 184.2 kB / 1.418 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.5287, allocations: 1.146 MB / 1.42 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/0.5288, allocations: 104.9 kB / 1.42 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.5288, allocations: 105 kB / 1.42 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.936e-05/0.5289, allocations: 192.3 kB / 1.42 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/0.529, allocations: 180.2 kB / 1.42 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.891e-05/0.5291, allocations: 176.3 kB / 1.42 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.399e-05/0.5292, allocations: 180.2 kB / 1.42 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.5295, allocations: 496.4 kB / 1.421 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009892/0.5305, allocations: 0.5308 MB / 1.421 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.5308, allocations: 176.3 kB / 1.422 GB, free: 3.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.5311, allocations: 112.9 kB / 1.422 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.5312, allocations: 180.3 kB / 1.422 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.5312, allocations: 101 kB / 1.422 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003307/0.5346, allocations: 2.349 MB / 1.424 GB, free: 0.5859 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5346, allocations: 0 / 1.424 GB, free: 0.5859 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005012/0.5351, allocations: 152 kB / 1.424 GB, free: 448 kB / 0.9167 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 (0): * Single equations (assignments): 0 * 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.6589/1.194, allocations: 0.9967 MB / 1.425 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.083e-05/1.194, allocations: 2.844 kB / 1.425 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.194, allocations: 0.7188 kB / 1.425 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/1.194, allocations: 0 / 1.425 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/1.195, allocations: 0.6512 MB / 1.426 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/1.217, allocations: 12.48 MB / 1.438 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/1.219, allocations: 1.367 MB / 1.44 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007009/1.22, allocations: 281.1 kB / 1.44 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000838/1.221, allocations: 0.5546 MB / 1.44 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of SimCode: time 3.106e-06/1.221, allocations: 0 / 1.44 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/1.282, allocations: 27.85 MB / 1.468 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/1.282, allocations: 236.9 kB / 1.468 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/4.159, allocations: 0 / 1.468 GB, free: 171.1 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat