Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.001081/0.001082, 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.001238/0.001239, allocations: 177.3 kB / 15.95 MB, free: 216 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.525/1.525, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.697/2.697, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004049, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9302, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003108/0.9334, allocations: 2.612 MB / 0.9562 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.9352, allocations: 1.008 MB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.9356, allocations: 18.53 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.286e-05/0.9356, allocations: 33 kB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.9361, allocations: 152.9 kB / 0.9573 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.9367, allocations: 259.1 kB / 0.9576 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.9372, allocations: 386 kB / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.9375, allocations: 171.2 kB / 0.9581 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.9377, allocations: 159 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.9378, allocations: 150.3 kB / 0.9584 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.9379, allocations: 8.25 kB / 0.9584 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.85e-05/0.9379, allocations: 11 kB / 0.9584 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.938, allocations: 54.69 kB / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.799e-05/0.938, allocations: 107.4 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.9384, allocations: 0.5184 MB / 0.9591 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.9384, allocations: 5.375 kB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9384, allocations: 0 / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9384, allocations: 0 / 0.9591 GB, free: 3.816 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001089/0.9395, allocations: 0.7413 MB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9396, allocations: 9.406 kB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.153e-05/0.9397, allocations: 68.5 kB / 0.9599 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.9398, allocations: 63.02 kB / 0.96 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007297/0.9405, allocations: 490.1 kB / 0.9604 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.9405, allocations: 23.91 kB / 0.9604 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.9406, allocations: 27 kB / 0.9605 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.9412, allocations: 370.2 kB / 0.9608 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.9412, allocations: 5.312 kB / 0.9608 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.9413, allocations: 10.75 kB / 0.9608 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.9413, allocations: 12.25 kB / 0.9608 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/0.9419, allocations: 262.8 kB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.9433, allocations: 1.437 MB / 0.9625 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.944, allocations: 269.6 kB / 0.9628 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.9441, allocations: 6.531 kB / 0.9628 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.9441, allocations: 36.7 kB / 0.9628 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.9441, allocations: 0 / 0.9628 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0009017/0.945, allocations: 388 kB / 0.9632 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.945, allocations: 53.69 kB / 0.9632 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.9455, allocations: 411 kB / 0.9636 GB, free: 244 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.9455, allocations: 30.89 kB / 0.9636 GB, free: 208 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.9457, allocations: 255.3 kB / 0.9639 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.9458, allocations: 83.78 kB / 0.964 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.9458, allocations: 5.188 kB / 0.964 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9459, allocations: 356.5 kB / 0.9643 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.9462, allocations: 105.8 kB / 0.9644 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.9465, allocations: 161.7 kB / 0.9646 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.9468, allocations: 118.4 kB / 0.9647 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9468, allocations: 1.188 kB / 0.9647 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007024/0.9475, allocations: 351 kB / 0.965 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.9475, allocations: 5.812 kB / 0.965 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.9475, allocations: 9.719 kB / 0.965 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.9476, allocations: 9.797 kB / 0.965 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.9479, allocations: 72.89 kB / 0.9651 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.9479, allocations: 2.5 kB / 0.9651 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.9481, allocations: 30.39 kB / 0.9651 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.9481, allocations: 11.33 kB / 0.9652 GB, free: 15.08 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002007/0.9483, allocations: 175.9 kB / 0.9653 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.9484, allocations: 42.69 kB / 0.9654 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.511e-05/0.9485, allocations: 51.84 kB / 0.9654 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.9485, allocations: 2.125 kB / 0.9654 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.9485, allocations: 0 / 0.9654 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.9485, allocations: 5.078 kB / 0.9654 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.9491, allocations: 439.7 kB / 0.9658 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9491, allocations: 0.8125 kB / 0.9658 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.9494, allocations: 53.33 kB / 0.9659 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.9494, allocations: 1.281 kB / 0.9659 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.9494, allocations: 10.38 kB / 0.9659 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.9494, allocations: 4.859 kB / 0.9659 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9494, allocations: 0 / 0.9659 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.9504, allocations: 0.5172 MB / 0.9664 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.9506, allocations: 138.5 kB / 0.9665 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.9507, allocations: 5.25 kB / 0.9665 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.9509, allocations: 22.08 kB / 0.9666 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.9509, allocations: 14.28 kB / 0.9666 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.951, allocations: 12.36 kB / 0.9666 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003595/0.9513, allocations: 280.2 kB / 0.9669 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9513, allocations: 0 / 0.9669 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003824/0.9517, allocations: 68.72 kB / 0.9669 GB, free: 13.76 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * 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 (23): * Single equations (assignments): 23 * 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.001268/0.953, allocations: 1.065 MB / 0.968 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006296/0.9536, allocations: 256.2 kB / 0.9682 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9536, allocations: 1.312 kB / 0.9682 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.9539, allocations: 121.2 kB / 0.9683 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006431/0.9546, allocations: 116 kB / 0.9684 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/0.9599, allocations: 3.567 MB / 0.9719 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.9604, allocations: 0.8338 MB / 0.9727 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002862/0.9607, allocations: 48.08 kB / 0.9728 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.961, allocations: 148.2 kB / 0.9729 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of SimCode: time 1.713e-06/0.961, allocations: 0 / 0.9729 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.9827, allocations: 7.627 MB / 0.9804 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.983, allocations: 214.9 kB / 0.9806 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.952, allocations: 4 kB / 0.9806 GB, free: 4.188 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat