Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.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.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000971/0.000971, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001008/0.001008, allocations: 176.7 kB / 15.95 MB, free: 192 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.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.379 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.449/2.449, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.816, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.00152/0.8176, allocations: 0.8473 MB / 0.9547 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004829/0.8181, allocations: 227.8 kB / 0.9549 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.8182, allocations: 11.56 kB / 0.9549 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.8184, allocations: 91.81 kB / 0.955 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.8186, allocations: 67.45 kB / 0.9551 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.8187, allocations: 58.06 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009186/0.8197, allocations: 0.8089 MB / 0.9559 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.8212, allocations: 1.464 MB / 0.9574 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.8214, allocations: 185.6 kB / 0.9575 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.8215, allocations: 194.3 kB / 0.9577 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.8215, allocations: 17.59 kB / 0.9577 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.8216, allocations: 11.69 kB / 0.9578 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004567/0.8221, allocations: 0.5222 MB / 0.9583 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.8223, allocations: 262.9 kB / 0.9585 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.8239, allocations: 1.988 MB / 0.9605 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.8239, allocations: 0 / 0.9605 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.427e-06/0.8239, allocations: 1.156 kB / 0.9605 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.275e-05/0.824, allocations: 0 / 0.9605 GB, free: 4.078 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.00174/0.8257, allocations: 1.473 MB / 0.9619 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.8258, allocations: 17.03 kB / 0.9619 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003284/0.8261, allocations: 321.5 kB / 0.9622 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.8264, allocations: 196.6 kB / 0.9624 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.8278, allocations: 0.9313 MB / 0.9633 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.8279, allocations: 154.7 kB / 0.9635 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/0.8282, allocations: 195.6 kB / 0.9637 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/0.8323, allocations: 2.788 MB / 0.9664 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/0.8323, allocations: 17.03 kB / 0.9664 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.8325, allocations: 96.36 kB / 0.9665 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-05/0.8326, allocations: 56.12 kB / 0.9665 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.8355, allocations: 1.623 MB / 0.9681 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.8459, allocations: 10.46 MB / 0.9783 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.8461, allocations: 166.7 kB / 0.9785 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.8461, allocations: 80.14 kB / 0.9786 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.8462, allocations: 75.28 kB / 0.9786 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.8462, allocations: 123.3 kB / 0.9788 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.8462, allocations: 3.938 kB / 0.9788 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001856/0.8464, allocations: 76.52 kB / 0.9788 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.8465, allocations: 128 kB / 0.979 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.8476, allocations: 0.9062 MB / 0.9798 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.8476, allocations: 29.7 kB / 0.9799 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.8482, allocations: 0.8433 MB / 0.9807 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.8483, allocations: 15.98 kB / 0.9807 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.8483, allocations: 16 kB / 0.9807 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.8485, allocations: 374.8 kB / 0.9811 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.8486, allocations: 129.2 kB / 0.9812 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.8492, allocations: 0.5873 MB / 0.9818 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.8495, allocations: 275.6 kB / 0.982 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.8495, allocations: 4 kB / 0.9821 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009362/0.8504, allocations: 0.6921 MB / 0.9827 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.8505, allocations: 12 kB / 0.9827 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.8505, allocations: 20 kB / 0.9828 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.8505, allocations: 20.72 kB / 0.9828 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.8508, allocations: 91.7 kB / 0.9829 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/0.8508, allocations: 35.92 kB / 0.9829 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.8511, allocations: 83.08 kB / 0.983 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.8511, allocations: 44 kB / 0.983 GB, free: 1.184 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 45 (booInp[9,5].y,booInp[9,4].y,booInp[9,3].y,booInp[9,2].y,booInp[9,1].y,booInp[8,5].y,booInp[8,4].y,booInp[8,3].y,booInp[8,2].y,booInp[8,1].y,booInp[7,5].y,booInp[7,4].y,booInp[7,3].y,booInp[7,2].y,booInp[7,1].y,booInp[6,5].y,booInp[6,4].y,booInp[6,3].y,booInp[6,2].y,booInp[6,1].y,booInp[5,5].y,booInp[5,4].y,booInp[5,3].y,booInp[5,2].y,booInp[5,1].y,booInp[4,5].y,booInp[4,4].y,booInp[4,3].y,booInp[4,2].y,booInp[4,1].y,booInp[3,5].y,booInp[3,4].y,booInp[3,3].y,booInp[3,2].y,booInp[3,1].y,booInp[2,5].y,booInp[2,4].y,booInp[2,3].y,booInp[2,2].y,booInp[2,1].y,booInp[1,5].y,booInp[1,4].y,booInp[1,3].y,booInp[1,2].y,booInp[1,1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.001074/0.8522, allocations: 0.7568 MB / 0.9838 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.8523, allocations: 152.3 kB / 0.9839 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.8525, allocations: 177 kB / 0.9841 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.93e-05/0.8525, allocations: 184.2 kB / 0.9843 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.924e-05/0.8526, allocations: 180.2 kB / 0.9844 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-05/0.8527, allocations: 184.3 kB / 0.9846 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.8544, allocations: 1.605 MB / 0.9862 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/0.8545, allocations: 112.9 kB / 0.9863 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.8545, allocations: 105 kB / 0.9864 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.005e-05/0.8546, allocations: 184.2 kB / 0.9865 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.8547, allocations: 176.3 kB / 0.9867 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.049e-05/0.8547, allocations: 176.3 kB / 0.9869 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.13e-05/0.8548, allocations: 184.2 kB / 0.9871 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.855, allocations: 363 kB / 0.9874 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.8551, allocations: 221.3 kB / 0.9876 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.8552, allocations: 180.3 kB / 0.9878 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.8553, allocations: 112.9 kB / 0.9879 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.8554, allocations: 180.3 kB / 0.9881 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.8554, allocations: 104.9 kB / 0.9882 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005251/0.856, allocations: 0.4951 MB / 0.9887 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.856, allocations: 0 / 0.9887 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009467/0.8569, allocations: 333.2 kB / 0.989 GB, free: 10.86 MB / 0.7481 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.0005039/0.8575, allocations: 0.8589 MB / 0.9898 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.8579, allocations: 302.7 kB / 0.9901 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8579, allocations: 0 / 0.9901 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.8579, allocations: 0 / 0.9901 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.8585, allocations: 0.5643 MB / 0.9906 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007517/0.866, allocations: 5.407 MB / 0.9959 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.8674, allocations: 1.392 MB / 0.9973 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005764/0.868, allocations: 296.5 kB / 0.9976 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.8686, allocations: 0.511 MB / 0.9981 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of SimCode: time 1.783e-06/0.8686, allocations: 0 / 0.9981 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/0.9105, allocations: 13.49 MB / 1.011 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.9109, allocations: 234.6 kB / 1.011 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/3.02, allocations: 0 / 1.011 GB, free: 3.688 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat