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.001107/0.001107, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001422/0.001422, allocations: 172.7 kB / 15.95 MB, free: 208 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.589/1.589, allocations: 223.3 MB / 240 MB, free: 5.227 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.731/2.731, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003878, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9144/0.9148, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003303/0.9182, allocations: 2.628 MB / 0.9564 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.9204, allocations: 1.017 MB / 0.9574 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.9209, allocations: 19.53 kB / 0.9574 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.9211, allocations: 64.72 kB / 0.9575 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.9214, allocations: 73.27 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.922, allocations: 236.8 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.9225, allocations: 0.537 MB / 0.9583 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.9228, allocations: 157.5 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.923, allocations: 158.1 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.9232, allocations: 146 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.9232, allocations: 8.938 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.735e-05/0.9233, allocations: 14.66 kB / 0.9588 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.9233, allocations: 60.19 kB / 0.9588 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.9234, allocations: 107.1 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.9238, allocations: 0.5226 MB / 0.9595 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9238, allocations: 1.375 kB / 0.9595 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9238, allocations: 0 / 0.9595 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.9238, allocations: 0 / 0.9595 GB, free: 3.793 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.001025/0.9248, allocations: 0.7419 MB / 0.9602 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.9249, allocations: 9.406 kB / 0.9602 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.184e-05/0.925, allocations: 72.66 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.9251, allocations: 58.14 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.9258, allocations: 486.4 kB / 0.9608 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.9258, allocations: 28.84 kB / 0.9608 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.9259, allocations: 30.86 kB / 0.9608 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.9265, allocations: 372.2 kB / 0.9612 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.9266, allocations: 5.25 kB / 0.9612 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.9266, allocations: 10.94 kB / 0.9612 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.9266, allocations: 10.91 kB / 0.9612 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.9272, allocations: 264.1 kB / 0.9615 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.9287, allocations: 1.438 MB / 0.9629 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.9294, allocations: 269.5 kB / 0.9631 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.9297, allocations: 145.4 kB / 0.9633 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.9297, allocations: 6.672 kB / 0.9633 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.9297, allocations: 35.73 kB / 0.9633 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.9297, allocations: 0 / 0.9633 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.000883/0.9306, allocations: 387.5 kB / 0.9637 GB, free: 476 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.9307, allocations: 53.69 kB / 0.9637 GB, free: 412 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.9311, allocations: 412.2 kB / 0.9641 GB, free: 140 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.9311, allocations: 29.7 kB / 0.9641 GB, free: 104 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.9314, allocations: 258.7 kB / 0.9644 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.9315, allocations: 80.64 kB / 0.9645 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.9315, allocations: 5 kB / 0.9645 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.9317, allocations: 357.3 kB / 0.9648 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.932, allocations: 96.66 kB / 0.9649 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.9323, allocations: 167.5 kB / 0.9651 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.9326, allocations: 118.2 kB / 0.9652 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9326, allocations: 1.188 kB / 0.9652 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007124/0.9333, allocations: 358.1 kB / 0.9655 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.9333, allocations: 10.98 kB / 0.9655 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9333, allocations: 1.938 kB / 0.9655 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.9334, allocations: 3.906 kB / 0.9655 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.9337, allocations: 64.92 kB / 0.9656 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.9337, allocations: 7.797 kB / 0.9656 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.9339, allocations: 38.14 kB / 0.9656 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.9339, allocations: 12.06 kB / 0.9657 GB, free: 14.98 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.0002165/0.9342, allocations: 174.1 kB / 0.9658 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.9342, allocations: 45.41 kB / 0.9659 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.9344, allocations: 52.77 kB / 0.9659 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.9344, allocations: 3.562 kB / 0.9659 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.9344, allocations: 0 / 0.9659 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9344, allocations: 3.938 kB / 0.9659 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.9349, allocations: 442.8 kB / 0.9663 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9349, allocations: 0 / 0.9663 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.9352, allocations: 45.59 kB / 0.9664 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.9352, allocations: 5.312 kB / 0.9664 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.9353, allocations: 9.859 kB / 0.9664 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9353, allocations: 4.766 kB / 0.9664 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9353, allocations: 0.9062 kB / 0.9664 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.9363, allocations: 0.5146 MB / 0.9669 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.9364, allocations: 137.9 kB / 0.967 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.9365, allocations: 5.969 kB / 0.967 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.9367, allocations: 17.2 kB / 0.9671 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.9368, allocations: 18.61 kB / 0.9671 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.9368, allocations: 5.188 kB / 0.9671 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003964/0.9372, allocations: 291.6 kB / 0.9674 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9372, allocations: 0 / 0.9674 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000372/0.9376, allocations: 68.69 kB / 0.9674 GB, free: 13.66 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.001306/0.9389, allocations: 1.056 MB / 0.9685 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.9395, allocations: 254.1 kB / 0.9687 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9395, allocations: 1.625 kB / 0.9687 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.9398, allocations: 121.6 kB / 0.9688 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/0.9405, allocations: 130.8 kB / 0.9689 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.9452, allocations: 2.396 MB / 0.9713 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.9457, allocations: 0.8224 MB / 0.9721 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002784/0.946, allocations: 49.97 kB / 0.9721 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.9462, allocations: 148.7 kB / 0.9723 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of SimCode: time 7.51e-07/0.9462, allocations: 0 / 0.9723 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.9698, allocations: 7.644 MB / 0.9797 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.9701, allocations: 212.8 kB / 0.9799 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.924, allocations: 0 / 0.9799 GB, free: 5.129 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