Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",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.001523/0.001524, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00176/0.00176, allocations: 168.7 kB / 15.95 MB, free: 204 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.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.398 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.456/2.456, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.7878, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.0009644/0.7888, allocations: 0.5614 MB / 0.9545 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.79, allocations: 1.129 MB / 0.9556 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.79, allocations: 2.406 kB / 0.9556 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.7901, allocations: 7.922 kB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.012e-05/0.7902, allocations: 5 kB / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.7906, allocations: 127 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.7908, allocations: 128.8 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.7909, allocations: 38.25 kB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/0.791, allocations: 40.88 kB / 0.9559 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.7911, allocations: 47.55 kB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.7911, allocations: 5.906 kB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.777e-05/0.7912, allocations: 29.31 kB / 0.956 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.7912, allocations: 10.45 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.7913, allocations: 42.7 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.7914, allocations: 125.5 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7914, allocations: 1.406 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7914, allocations: 0 / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.7914, allocations: 0 / 0.9562 GB, free: 6.355 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004737/0.7919, allocations: 424.5 kB / 0.9566 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.792, allocations: 10 kB / 0.9566 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.792, allocations: 44.44 kB / 0.9566 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.7921, allocations: 15.84 kB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.7925, allocations: 236.7 kB / 0.9569 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.7925, allocations: 13.05 kB / 0.9569 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.7926, allocations: 12.12 kB / 0.9569 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.7928, allocations: 95.7 kB / 0.957 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.7928, allocations: 0 / 0.957 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.7928, allocations: 4 kB / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.7928, allocations: 6.875 kB / 0.957 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.7931, allocations: 73.33 kB / 0.9571 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.7935, allocations: 405 kB / 0.9574 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.7937, allocations: 65.3 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.7938, allocations: 45.06 kB / 0.9575 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.7938, allocations: 1.062 kB / 0.9575 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.794, allocations: 93 kB / 0.9576 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.7941, allocations: 0 / 0.9576 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003846/0.7944, allocations: 138.1 kB / 0.9578 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.7945, allocations: 60.48 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.7946, allocations: 133.6 kB / 0.958 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.7946, allocations: 26.86 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.7946, allocations: 114.8 kB / 0.9581 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.7947, allocations: 26.3 kB / 0.9581 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.7947, allocations: 2.5 kB / 0.9581 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.7947, allocations: 320.3 kB / 0.9584 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.7949, allocations: 53.12 kB / 0.9585 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.795, allocations: 83.64 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.7952, allocations: 79.31 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7952, allocations: 0 / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003749/0.7956, allocations: 205.7 kB / 0.9588 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.7956, allocations: 32.95 kB / 0.9589 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7956, allocations: 6.078 kB / 0.9589 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.7957, allocations: 3.938 kB / 0.9589 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.7958, allocations: 14.72 kB / 0.9589 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7958, allocations: 13.58 kB / 0.9589 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.796, allocations: 42.19 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.796, allocations: 5.844 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 7.662e-05/0.7961, allocations: 129 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.7961, allocations: 7.469 kB / 0.9591 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.7961, allocations: 10.22 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7961, allocations: 1.938 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.7961, allocations: 0 / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.7962, allocations: 0 / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.7963, allocations: 201.4 kB / 0.9593 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7963, allocations: 3.953 kB / 0.9593 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.7963, allocations: 20.52 kB / 0.9593 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7964, allocations: 4 kB / 0.9593 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.7964, allocations: 1.812 kB / 0.9593 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7964, allocations: 0 / 0.9593 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7964, allocations: 0 / 0.9593 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.7966, allocations: 141.9 kB / 0.9594 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.7967, allocations: 91.66 kB / 0.9595 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.7967, allocations: 1.375 kB / 0.9595 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.7967, allocations: 13.48 kB / 0.9595 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.7968, allocations: 2.75 kB / 0.9595 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.7968, allocations: 2.75 kB / 0.9595 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.7968, allocations: 104.2 kB / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7968, allocations: 0 / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002344/0.7971, allocations: 25.91 kB / 0.9597 GB, free: 3.203 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: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004521/0.7975, allocations: 0.6939 MB / 0.9603 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.7979, allocations: 174.8 kB / 0.9605 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7979, allocations: 0 / 0.9605 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.798, allocations: 46.28 kB / 0.9606 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.7982, allocations: 17.61 kB / 0.9606 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.7993, allocations: 0.7136 MB / 0.9613 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.7994, allocations: 0.6982 MB / 0.9619 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.593e-05/0.7995, allocations: 9.531 kB / 0.962 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.7995, allocations: 31.77 kB / 0.962 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7995, allocations: 0 / 0.962 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.8125, allocations: 2.502 MB / 0.9644 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.8127, allocations: 231.2 kB / 0.9647 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.585, allocations: 0 / 0.9647 GB, free: 15.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat