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.204/2.204, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001133/0.001133, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009349/0.0009349, allocations: 102.9 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.497e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2869, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8755/1.162, allocations: 152.8 MB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.163, allocations: 80.69 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02831/1.191, allocations: 14.04 MB / 1.382 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.191, allocations: 0 / 1.382 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.385e-05/1.191, allocations: 47.94 kB / 1.382 GB, free: 4.68 MB / 0.8386 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.001692/1.193, allocations: 1.397 MB / 1.383 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.193, allocations: 15.97 kB / 1.383 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002992/1.193, allocations: 312.1 kB / 1.384 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/1.194, allocations: 200.8 kB / 1.384 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/1.195, allocations: 0.8572 MB / 1.385 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/1.195, allocations: 153.6 kB / 1.385 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/1.195, allocations: 203.4 kB / 1.385 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00337/1.199, allocations: 2.876 MB / 1.388 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/1.199, allocations: 11.88 kB / 1.388 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/1.199, allocations: 89.12 kB / 1.388 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/1.199, allocations: 56 kB / 1.388 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/1.201, allocations: 1.708 MB / 1.39 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008283/1.209, allocations: 10.88 MB / 1.4 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/1.209, allocations: 169.1 kB / 1.4 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/1.21, allocations: 84.14 kB / 1.4 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/1.21, allocations: 79.28 kB / 1.401 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.21, allocations: 109.8 kB / 1.401 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.834e-06/1.21, allocations: 0 / 1.401 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0002402/1.21, allocations: 207.3 kB / 1.401 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.21, allocations: 126.7 kB / 1.401 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/1.213, allocations: 3.037 MB / 1.404 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/1.213, allocations: 29.7 kB / 1.404 GB, free: 468 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/1.214, allocations: 0.7688 MB / 1.405 GB, free: 192 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/1.214, allocations: 0 / 1.405 GB, free: 192 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-07/1.214, allocations: 0 / 1.405 GB, free: 192 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.214, allocations: 310 kB / 1.405 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/1.214, allocations: 4 kB / 1.405 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/1.214, allocations: 0 / 1.405 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/1.214, allocations: 75.28 kB / 1.405 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-05/1.214, allocations: 79.22 kB / 1.405 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002163/1.214, allocations: 211.4 kB / 1.405 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.214, allocations: 79.28 kB / 1.405 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.214, allocations: 75.28 kB / 1.406 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.696e-05/1.214, allocations: 157.6 kB / 1.406 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.321e-05/1.214, allocations: 83.27 kB / 1.406 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.876e-05/1.214, allocations: 154.5 kB / 1.406 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/1.215, allocations: 162 kB / 1.406 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/1.215, allocations: 75.28 kB / 1.406 GB, free: 14.73 MB / 0.8698 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 () * 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 8.737e-05/1.215, allocations: 259.8 kB / 1.406 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.215, allocations: 286.5 kB / 1.407 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/1.215, allocations: 325.5 kB / 1.407 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.74e-05/1.215, allocations: 180.2 kB / 1.407 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-05/1.215, allocations: 187.1 kB / 1.407 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.144e-05/1.215, allocations: 188.2 kB / 1.407 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009198/1.216, allocations: 1.14 MB / 1.409 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/1.216, allocations: 104.2 kB / 1.409 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/1.216, allocations: 108.9 kB / 1.409 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.167e-05/1.216, allocations: 184.3 kB / 1.409 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/1.216, allocations: 176.6 kB / 1.409 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.953e-05/1.217, allocations: 184.2 kB / 1.409 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-05/1.217, allocations: 180.3 kB / 1.409 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/1.217, allocations: 495.5 kB / 1.41 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/1.218, allocations: 0.5295 MB / 1.41 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/1.218, allocations: 184.2 kB / 1.411 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/1.218, allocations: 105 kB / 1.411 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1.218, allocations: 183.6 kB / 1.411 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/1.218, allocations: 101 kB / 1.411 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002465/1.221, allocations: 2.323 MB / 1.413 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.221, allocations: 0 / 1.413 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004024/1.221, allocations: 152 kB / 1.413 GB, free: 7.781 MB / 0.8698 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 () * 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.0005256/1.222, allocations: 1.009 MB / 1.414 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 3.113e-05/1.222, allocations: 4 kB / 1.414 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.222, allocations: 0 / 1.414 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/1.222, allocations: 4 kB / 1.414 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/1.222, allocations: 0.6371 MB / 1.415 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/1.225, allocations: 2.442 MB / 1.417 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008372/1.226, allocations: 1.374 MB / 1.419 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003145/1.227, allocations: 275 kB / 1.419 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/1.227, allocations: 0.5565 MB / 1.42 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/1.227, allocations: 0 / 1.42 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/1.273, allocations: 26.31 MB / 1.445 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/1.273, allocations: 214.8 kB / 1.445 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.636, allocations: 2.578 kB / 1.445 GB, free: 7.875 MB / 0.9011 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