Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.001109/0.00111, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001551/0.001551, allocations: 168.7 kB / 15.95 MB, free: 204 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.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.532/2.532, allocations: 409.4 MB / 0.684 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004024, allocations: 12 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.851, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0009206/0.8519, allocations: 426.4 kB / 0.9816 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.853, allocations: 0.8023 MB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.8531, allocations: 4 kB / 0.9824 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.8531, allocations: 3.938 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.8532, allocations: 3.938 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.285e-05/0.8532, allocations: 11.98 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.8533, allocations: 31.92 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.8534, allocations: 7.984 kB / 0.9824 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/0.8535, allocations: 19.92 kB / 0.9824 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.8536, allocations: 15.92 kB / 0.9825 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.8536, allocations: 4 kB / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.8536, allocations: 4 kB / 0.9825 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.8536, allocations: 4 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.8537, allocations: 33.64 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.228e-05/0.8537, allocations: 31.91 kB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8537, allocations: 0 / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8537, allocations: 0 / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8538, allocations: 0 / 0.9825 GB, free: 4.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005105/0.8543, allocations: 373.5 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8543, allocations: 12.03 kB / 0.9829 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.8544, allocations: 30.56 kB / 0.9829 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.8544, allocations: 3.906 kB / 0.9829 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.8545, allocations: 167.1 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.8546, allocations: 0 / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.8546, allocations: 4 kB / 0.9831 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.8548, allocations: 85.55 kB / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8549, allocations: 0 / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.8549, allocations: 4 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8549, allocations: 0 / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.8552, allocations: 83.92 kB / 0.9833 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.8556, allocations: 272.9 kB / 0.9835 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.8558, allocations: 70.44 kB / 0.9836 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.8559, allocations: 52.91 kB / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.856, allocations: 3.984 kB / 0.9836 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.856, allocations: 30.56 kB / 0.9837 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.856, allocations: 0 / 0.9837 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005069/0.8565, allocations: 165.6 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.8566, allocations: 59.28 kB / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.8566, allocations: 109.8 kB / 0.984 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.8567, allocations: 33.64 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.8567, allocations: 84.14 kB / 0.9841 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.8568, allocations: 19.75 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.8568, allocations: 0 / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8569, allocations: 318.8 kB / 0.9844 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.8571, allocations: 35.97 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.8572, allocations: 43.97 kB / 0.9845 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.8573, allocations: 43.95 kB / 0.9845 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8573, allocations: 4 kB / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003153/0.8577, allocations: 121.6 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.8577, allocations: 4 kB / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8577, allocations: 0 / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8577, allocations: 0 / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.8579, allocations: 19.98 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.8579, allocations: 3.984 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.858, allocations: 23.98 kB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.858, allocations: 7.938 kB / 0.9847 GB, free: 2.359 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 (3): * Single equations (assignments): 3 * 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 8.144e-05/0.8581, allocations: 109.8 kB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.8581, allocations: 7.859 kB / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.8581, allocations: 11.91 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8581, allocations: 0 / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8581, allocations: 0 / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8582, allocations: 0 / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.8583, allocations: 177.6 kB / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8583, allocations: 0 / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.8584, allocations: 19.98 kB / 0.985 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.8585, allocations: 3.953 kB / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.8585, allocations: 0 / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8585, allocations: 0 / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8585, allocations: 0 / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.8588, allocations: 215.5 kB / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.8589, allocations: 92.95 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.8589, allocations: 3.953 kB / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.859, allocations: 15.98 kB / 0.9853 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.8591, allocations: 7.922 kB / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.8591, allocations: 0 / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.8591, allocations: 87.28 kB / 0.9854 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8591, allocations: 4 kB / 0.9854 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002228/0.8594, allocations: 4 kB / 0.9854 GB, free: 1.516 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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.0007767/0.8602, allocations: 0.7479 MB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.8605, allocations: 99.89 kB / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8605, allocations: 0 / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.8606, allocations: 47.95 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.861, allocations: 11.95 kB / 0.9863 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.8616, allocations: 162.2 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.862, allocations: 0.6809 MB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.862, allocations: 0 / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.8621, allocations: 15.44 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of SimCode: time 3.9e-07/0.8621, allocations: 0 / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.8747, allocations: 1.29 MB / 0.9884 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.875, allocations: 199.1 kB / 0.9886 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.651, allocations: 0 / 0.9886 GB, free: 14.29 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat does not exist to compare? outputFormat=mat