Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.001761/0.001761, allocations: 99.7 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.002101/0.002101, 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.799/1.799, 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 2.98/2.98, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006456, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8327/0.8333, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008823/0.8343, allocations: 378.5 kB / 0.9812 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001234/0.8344, allocations: 15.94 kB / 0.9813 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.8345, allocations: 0 / 0.9813 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.219e-05/0.8346, allocations: 11.86 kB / 0.9813 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.441e-05/0.8346, allocations: 4 kB / 0.9813 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.306e-05/0.8347, allocations: 4 kB / 0.9813 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.016e-05/0.8348, allocations: 11.98 kB / 0.9813 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.8349, allocations: 31.97 kB / 0.9813 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.8349, allocations: 7.938 kB / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.001e-05/0.835, allocations: 7.938 kB / 0.9813 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.835, allocations: 4 kB / 0.9813 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.835, allocations: 0 / 0.9813 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.835, allocations: 0 / 0.9813 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.8351, allocations: 37.64 kB / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.8e-05/0.8351, allocations: 35.91 kB / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.8351, allocations: 4 kB / 0.9814 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8351, allocations: 0 / 0.9814 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.8352, allocations: 0 / 0.9814 GB, free: 5.738 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003096/0.8355, allocations: 341.5 kB / 0.9817 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8355, allocations: 8.031 kB / 0.9817 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.8356, allocations: 34.56 kB / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.8356, allocations: 4 kB / 0.9818 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.8357, allocations: 194.8 kB / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.8358, allocations: 0 / 0.982 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.8358, allocations: 8 kB / 0.982 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.8359, allocations: 85.61 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.8359, allocations: 0 / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.8359, allocations: 0 / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.836, allocations: 0 / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.836, allocations: 47.97 kB / 0.9821 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.8365, allocations: 483.1 kB / 0.9826 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.204e-05/0.8366, allocations: 177.1 kB / 0.9827 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.8366, allocations: 75.28 kB / 0.9828 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.8367, allocations: 109.8 kB / 0.9829 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8367, allocations: 0 / 0.9829 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.368e-05/0.8367, allocations: 29.7 kB / 0.9829 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.8368, allocations: 126.7 kB / 0.9831 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.837, allocations: 184.7 kB / 0.9832 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.837, allocations: 25.7 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.8371, allocations: 92.14 kB / 0.9833 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.8371, allocations: 112 / 0.9833 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.8371, allocations: 3.938 kB / 0.9834 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8372, allocations: 322.8 kB / 0.9837 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.8372, allocations: 4 kB / 0.9837 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.8372, allocations: 11.98 kB / 0.9837 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.8373, allocations: 19.94 kB / 0.9837 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8373, allocations: 3.984 kB / 0.9837 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000106/0.8374, allocations: 49.59 kB / 0.9837 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.8374, allocations: 4 kB / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8374, allocations: 4 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8374, allocations: 0 / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.8375, allocations: 0 / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8375, allocations: 0 / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.8375, allocations: 4 kB / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.8375, allocations: 4.031 kB / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001065/0.8377, allocations: 202.4 kB / 0.984 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.8377, allocations: 112.8 kB / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.8378, allocations: 115.3 kB / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.504e-05/0.8378, allocations: 176.3 kB / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-05/0.8379, allocations: 184.2 kB / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/0.838, allocations: 184.3 kB / 0.9847 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.8382, allocations: 433.1 kB / 0.9851 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/0.8382, allocations: 101 kB / 0.9852 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.8383, allocations: 101 kB / 0.9853 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.244e-05/0.8383, allocations: 184.2 kB / 0.9855 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.8384, allocations: 184.3 kB / 0.9856 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.278e-05/0.8384, allocations: 184.2 kB / 0.9858 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.987e-05/0.8385, allocations: 176.3 kB / 0.986 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.8386, allocations: 315.6 kB / 0.9863 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.8387, allocations: 186.1 kB / 0.9865 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/0.8388, allocations: 188.2 kB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.8389, allocations: 105 kB / 0.9868 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.839, allocations: 180.2 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.839, allocations: 101 kB / 0.987 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.055e-05/0.8391, allocations: 136.4 kB / 0.9871 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8391, allocations: 0 / 0.9871 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002148/0.8393, allocations: 8 kB / 0.9872 GB, free: 15.41 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.0004102/0.8398, allocations: 0.8207 MB / 0.988 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.106e-05/0.8398, allocations: 7.984 kB / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8398, allocations: 0 / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.8398, allocations: 4.062 kB / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.8402, allocations: 0.5264 MB / 0.9885 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.841, allocations: 0.5871 MB / 0.9891 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.8412, allocations: 0.6926 MB / 0.9897 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.8413, allocations: 7.938 kB / 0.9897 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.8413, allocations: 15.44 kB / 0.9898 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.8413, allocations: 0 / 0.9898 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4355/1.277, allocations: 1.388 MB / 0.9911 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003113/1.277, allocations: 198 kB / 0.9913 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.476, allocations: 0 / 0.9913 GB, free: 11.15 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat does not exist to compare? outputFormat=mat