Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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.00123/0.001229, 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.00168/0.001679, 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 2.624/2.624, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.571/4.571, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005583/0.0005587, allocations: 8 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565/1.566, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00588/1.572, allocations: 2.618 MB / 0.9834 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003512/1.575, allocations: 0.998 MB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/1.576, allocations: 15.88 kB / 0.9844 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/1.576, allocations: 39.58 kB / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000993/1.577, allocations: 147.4 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/1.578, allocations: 257.2 kB / 0.9849 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001048/1.579, allocations: 392.5 kB / 0.9852 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005096/1.58, allocations: 161.8 kB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/1.58, allocations: 167.1 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/1.581, allocations: 143.1 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/1.581, allocations: 12 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/1.581, allocations: 12 kB / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/1.581, allocations: 59.62 kB / 0.9858 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/1.581, allocations: 105.5 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008279/1.582, allocations: 0.5125 MB / 0.9864 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.582, allocations: 4 kB / 0.9864 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.764e-06/1.582, allocations: 0 / 0.9864 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.582, allocations: 3.938 kB / 0.9864 GB, free: 0.6055 MB / 0.7325 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.002143/1.584, allocations: 0.7398 MB / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 9.299e-05/1.584, allocations: 12.03 kB / 0.9871 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/1.584, allocations: 66.53 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/1.585, allocations: 59.25 kB / 0.9872 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/1.586, allocations: 489.4 kB / 0.9877 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/1.586, allocations: 20.66 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/1.586, allocations: 36 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/1.587, allocations: 382.7 kB / 0.9881 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/1.587, allocations: 3.984 kB / 0.9881 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/1.587, allocations: 12 kB / 0.9881 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/1.588, allocations: 4 kB / 0.9881 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009753/1.589, allocations: 273.9 kB / 0.9884 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/1.592, allocations: 1.429 MB / 0.9898 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/1.593, allocations: 279.9 kB / 0.9901 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.92e-05/1.593, allocations: 0 / 0.9901 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.593, allocations: 42.56 kB / 0.9901 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 2.745e-06/1.593, allocations: 0 / 0.9901 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.001709/1.595, allocations: 373.9 kB / 0.9904 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/1.595, allocations: 55.41 kB / 0.9905 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/1.596, allocations: 409.9 kB / 0.9909 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/1.596, allocations: 25.7 kB / 0.9909 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/1.596, allocations: 260.1 kB / 0.9912 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.596, allocations: 90.67 kB / 0.9913 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/1.597, allocations: 8 kB / 0.9913 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002299/1.597, allocations: 354.8 kB / 0.9916 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/1.597, allocations: 96.52 kB / 0.9917 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/1.598, allocations: 168.8 kB / 0.9919 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/1.598, allocations: 121.4 kB / 0.992 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.598, allocations: 0 / 0.992 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00122/1.6, allocations: 354.6 kB / 0.9923 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.6, allocations: 12.25 kB / 0.9923 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.6, allocations: 0 / 0.9923 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.6, allocations: 4 kB / 0.9923 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/1.6, allocations: 71.89 kB / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/1.6, allocations: 4 kB / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/1.601, allocations: 27.83 kB / 0.9924 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/1.601, allocations: 12 kB / 0.9924 GB, free: 10.1 MB / 0.7481 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.0003619/1.601, allocations: 173.7 kB / 0.9926 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.601, allocations: 51.39 kB / 0.9926 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/1.601, allocations: 47.97 kB / 0.9927 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.601, allocations: 4 kB / 0.9927 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.601, allocations: 3.938 kB / 0.9927 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/1.601, allocations: 0 / 0.9927 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000855/1.602, allocations: 433.2 kB / 0.9931 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.602, allocations: 0 / 0.9931 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/1.603, allocations: 55.91 kB / 0.9932 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/1.603, allocations: 7.891 kB / 0.9932 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/1.603, allocations: 4 kB / 0.9932 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/1.603, allocations: 4 kB / 0.9932 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.603, allocations: 0 / 0.9932 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.605, allocations: 0.5122 MB / 0.9937 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/1.605, allocations: 140.6 kB / 0.9938 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/1.605, allocations: 7.953 kB / 0.9938 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/1.605, allocations: 19.98 kB / 0.9938 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.606, allocations: 15.97 kB / 0.9939 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/1.606, allocations: 4 kB / 0.9939 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006072/1.606, allocations: 283.1 kB / 0.9941 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.91e-07/1.606, allocations: 7.938 kB / 0.9941 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006386/1.607, allocations: 67.78 kB / 0.9942 GB, free: 8.199 MB / 0.7481 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.002093/1.609, allocations: 1.057 MB / 0.9952 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001087/1.61, allocations: 256.3 kB / 0.9955 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.61, allocations: 0 / 0.9955 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000458/1.611, allocations: 131 kB / 0.9956 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/1.612, allocations: 107.3 kB / 0.9957 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/1.62, allocations: 3.565 MB / 0.9992 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/1.621, allocations: 0.8269 MB / 1 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004886/1.621, allocations: 55.19 kB / 1 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/1.622, allocations: 151.4 kB / 1 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of SimCode: time 6.021e-06/1.622, allocations: 0 / 1 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/1.661, allocations: 7.628 MB / 1.008 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005231/1.662, allocations: 222.5 kB / 1.008 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/4.758, allocations: 5.188 kB / 1.008 GB, free: 10.31 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat