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.001182/0.001182, allocations: 99.86 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.001441/0.001441, 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.434/1.434, 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.416/2.416, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 12 kB / 0.8147 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8311/0.8315, allocations: 142.3 MB / 0.9537 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001019/0.8326, allocations: 0.56 MB / 0.9542 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.8337, allocations: 1.118 MB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.8338, allocations: 1.531 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.8338, allocations: 3.938 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.8339, allocations: 18.03 kB / 0.9553 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.8344, allocations: 122.2 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.8345, allocations: 80.81 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.8346, allocations: 34.16 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/0.8347, allocations: 48.14 kB / 0.9556 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.8348, allocations: 44.67 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.8348, allocations: 5.188 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.8349, allocations: 19.92 kB / 0.9557 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.8349, allocations: 15.14 kB / 0.9557 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.835, allocations: 42.7 kB / 0.9557 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.8351, allocations: 118.9 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.8351, allocations: 0 / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8351, allocations: 0 / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8351, allocations: 0 / 0.9558 GB, free: 6.391 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.0004977/0.8356, allocations: 428.6 kB / 0.9562 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.8357, allocations: 10.03 kB / 0.9563 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.8357, allocations: 44.5 kB / 0.9563 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.8358, allocations: 11.09 kB / 0.9563 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.8362, allocations: 241.7 kB / 0.9565 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.8363, allocations: 13.72 kB / 0.9566 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.8363, allocations: 17.3 kB / 0.9566 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.8365, allocations: 91.48 kB / 0.9567 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.8366, allocations: 3.938 kB / 0.9567 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.8366, allocations: 5.062 kB / 0.9567 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.8366, allocations: 2.281 kB / 0.9567 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.8368, allocations: 74.81 kB / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.8373, allocations: 400.4 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.8375, allocations: 68.27 kB / 0.9572 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.8375, allocations: 1.562 kB / 0.9572 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.8377, allocations: 88.19 kB / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.8377, allocations: 3.938 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004239/0.8381, allocations: 150.1 kB / 0.9574 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.8381, allocations: 52.75 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.8382, allocations: 133.4 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.8383, allocations: 29.67 kB / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.8383, allocations: 110.2 kB / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.8384, allocations: 22.25 kB / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.8384, allocations: 3.312 kB / 0.9578 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.8384, allocations: 318.8 kB / 0.9581 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.8386, allocations: 57.3 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.8387, allocations: 75.44 kB / 0.9582 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.8389, allocations: 79.7 kB / 0.9583 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8389, allocations: 7.891 kB / 0.9583 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003868/0.8393, allocations: 205.3 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.8393, allocations: 37.45 kB / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8394, allocations: 0 / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8394, allocations: 1.812 kB / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.8395, allocations: 22.52 kB / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.8395, allocations: 0 / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.8397, allocations: 46.5 kB / 0.9586 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.8397, allocations: 11.14 kB / 0.9586 GB, free: 3.949 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.763e-05/0.8398, allocations: 120.3 kB / 0.9587 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.8398, allocations: 11.23 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.8399, allocations: 9.75 kB / 0.9587 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8399, allocations: 1.344 kB / 0.9587 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8399, allocations: 5.328 kB / 0.9587 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8399, allocations: 4 kB / 0.9587 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.84, allocations: 193.7 kB / 0.9589 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.84, allocations: 0 / 0.9589 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.8401, allocations: 20.31 kB / 0.9589 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8401, allocations: 3.938 kB / 0.9589 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.8401, allocations: 1.375 kB / 0.9589 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.8402, allocations: 5.359 kB / 0.9589 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8402, allocations: 3.938 kB / 0.9589 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.8404, allocations: 137.6 kB / 0.9591 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.8405, allocations: 87.7 kB / 0.9592 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.8405, allocations: 5.328 kB / 0.9592 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.8405, allocations: 13.48 kB / 0.9592 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.8406, allocations: 10.73 kB / 0.9592 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.8406, allocations: 6.75 kB / 0.9592 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.8406, allocations: 100.5 kB / 0.9593 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8407, allocations: 0 / 0.9593 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002279/0.8409, allocations: 29.91 kB / 0.9593 GB, free: 3.246 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.0004898/0.8414, allocations: 0.6827 MB / 0.96 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.8417, allocations: 178.7 kB / 0.9602 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8418, allocations: 0 / 0.9602 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.8419, allocations: 38.7 kB / 0.9602 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.8421, allocations: 20.25 kB / 0.9602 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.8427, allocations: 0.9001 MB / 0.9611 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.8428, allocations: 0.7003 MB / 0.9618 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.663e-05/0.8429, allocations: 17 kB / 0.9618 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.843, allocations: 27.98 kB / 0.9618 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.843, allocations: 0 / 0.9618 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.8563, allocations: 2.464 MB / 0.9642 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.8565, allocations: 225 kB / 0.9644 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.518, allocations: 4.672 kB / 0.9644 GB, free: 15.46 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