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.001413/0.001413, 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.001697/0.001696, 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.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.566/2.566, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 8 kB / 0.8147 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8882, allocations: 142.3 MB / 0.9536 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.001271/0.8895, allocations: 0.8487 MB / 0.9545 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004701/0.89, allocations: 236.3 kB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.8901, allocations: 11.94 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.8903, allocations: 103.8 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.8905, allocations: 68.86 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.8906, allocations: 59.72 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000453/0.8911, allocations: 369 kB / 0.9553 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.8929, allocations: 1.48 MB / 0.9567 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.8931, allocations: 171 kB / 0.9569 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.8933, allocations: 203.2 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.8933, allocations: 12.53 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.8934, allocations: 12.56 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.8939, allocations: 0.523 MB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.8941, allocations: 266 kB / 0.9579 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.896, allocations: 1.987 MB / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.896, allocations: 0 / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.896, allocations: 0 / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.395e-05/0.8961, allocations: 1.188 kB / 0.9598 GB, free: 4.133 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.001917/0.898, allocations: 1.48 MB / 0.9612 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.898, allocations: 10.03 kB / 0.9613 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003225/0.8984, allocations: 315.4 kB / 0.9616 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.8987, allocations: 194.8 kB / 0.9617 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.9004, allocations: 0.9314 MB / 0.9626 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.9006, allocations: 163.8 kB / 0.9628 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.9009, allocations: 198.2 kB / 0.963 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/0.9049, allocations: 2.768 MB / 0.9657 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-05/0.905, allocations: 13.23 kB / 0.9657 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.9052, allocations: 87.69 kB / 0.9658 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.21e-05/0.9053, allocations: 56.09 kB / 0.9658 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.9083, allocations: 1.627 MB / 0.9674 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.9191, allocations: 10.46 MB / 0.9777 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.968e-05/0.9192, allocations: 178.1 kB / 0.9778 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.9192, allocations: 76.47 kB / 0.9779 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.9193, allocations: 105.8 kB / 0.978 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.9193, allocations: 1 kB / 0.978 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.000146/0.9194, allocations: 76.48 kB / 0.9781 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.9195, allocations: 134.6 kB / 0.9782 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.9206, allocations: 0.9114 MB / 0.9791 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.9206, allocations: 25.7 kB / 0.9791 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005576/0.9212, allocations: 0.8465 MB / 0.9799 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.9212, allocations: 11.98 kB / 0.98 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.9212, allocations: 12 kB / 0.98 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9214, allocations: 374.8 kB / 0.9803 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.9215, allocations: 133.2 kB / 0.9804 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.9221, allocations: 0.5834 MB / 0.981 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.9225, allocations: 275.7 kB / 0.9813 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.9225, allocations: 4 kB / 0.9813 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009723/0.9235, allocations: 0.6928 MB / 0.982 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.9235, allocations: 21.42 kB / 0.982 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.9235, allocations: 16 kB / 0.982 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.9236, allocations: 24 kB / 0.982 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.9238, allocations: 87.72 kB / 0.9821 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.9238, allocations: 31.86 kB / 0.9821 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.9242, allocations: 87.12 kB / 0.9822 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.9242, allocations: 43.78 kB / 0.9823 GB, free: 1.703 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.001096/0.9253, allocations: 0.7529 MB / 0.983 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.9254, allocations: 168.2 kB / 0.9832 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.9255, allocations: 169.1 kB / 0.9833 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.424e-05/0.9256, allocations: 184.2 kB / 0.9835 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.727e-05/0.9257, allocations: 180.3 kB / 0.9837 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.925e-05/0.9257, allocations: 176.3 kB / 0.9838 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.9275, allocations: 1.616 MB / 0.9854 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.9276, allocations: 101 kB / 0.9855 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.9276, allocations: 104.9 kB / 0.9856 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.714e-05/0.9277, allocations: 176.3 kB / 0.9858 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/0.9278, allocations: 184.3 kB / 0.9859 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.387e-05/0.9278, allocations: 184.1 kB / 0.9861 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-05/0.9279, allocations: 184.2 kB / 0.9863 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.9281, allocations: 359.1 kB / 0.9866 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.9282, allocations: 225.3 kB / 0.9869 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.9283, allocations: 184.2 kB / 0.987 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.9285, allocations: 105 kB / 0.9871 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.9285, allocations: 184.2 kB / 0.9873 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.9286, allocations: 101 kB / 0.9874 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005446/0.9291, allocations: 0.4951 MB / 0.9879 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9291, allocations: 0 / 0.9879 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009581/0.9301, allocations: 325.3 kB / 0.9882 GB, free: 11.39 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.0004874/0.9306, allocations: 0.8744 MB / 0.9891 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.931, allocations: 287 kB / 0.9893 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9311, allocations: 0.875 kB / 0.9893 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.9311, allocations: 0 / 0.9893 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.9315, allocations: 0.5605 MB / 0.9899 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.9448, allocations: 16.51 MB / 1.006 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.9461, allocations: 1.431 MB / 1.007 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000542/0.9466, allocations: 296.5 kB / 1.008 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.9472, allocations: 0.5149 MB / 1.008 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of SimCode: time 2.375e-06/0.9472, allocations: 0 / 1.008 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.9749, allocations: 13.46 MB / 1.021 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.9751, allocations: 219 kB / 1.022 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.018, allocations: 0 / 1.022 GB, free: 8.98 MB / 0.7794 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