Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.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.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",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.001406/0.001406, allocations: 100.5 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.001755/0.001755, allocations: 177.3 kB / 15.94 MB, free: 228 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.215/2.215, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.05/3.05, allocations: 409.2 MB / 0.6838 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005519/0.0005522, allocations: 12 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9689, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001061/0.9701, allocations: 398.4 kB / 0.9813 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.9712, allocations: 0.8002 MB / 0.982 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.9712, allocations: 4 kB / 0.9821 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.9712, allocations: 0 / 0.9821 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.9714, allocations: 0 / 0.9821 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.9715, allocations: 4 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.332e-05/0.9716, allocations: 15.97 kB / 0.9821 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.9717, allocations: 4 kB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.9718, allocations: 11.94 kB / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.9719, allocations: 11.98 kB / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.9719, allocations: 0 / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.9719, allocations: 0 / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.9719, allocations: 0 / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.972, allocations: 37.58 kB / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.491e-05/0.9721, allocations: 23.94 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.9721, allocations: 0 / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.186e-06/0.9721, allocations: 3.938 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.9721, allocations: 0 / 0.9822 GB, free: 4.945 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005491/0.9726, allocations: 337.6 kB / 0.9825 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.9727, allocations: 12.02 kB / 0.9825 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.9728, allocations: 34.56 kB / 0.9825 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.9728, allocations: 7.984 kB / 0.9825 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.973, allocations: 159.1 kB / 0.9827 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.973, allocations: 0 / 0.9827 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.973, allocations: 0 / 0.9827 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.9732, allocations: 63.92 kB / 0.9827 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9732, allocations: 4 kB / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.9733, allocations: 3.938 kB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9733, allocations: 0 / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.9735, allocations: 47.95 kB / 0.9828 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.9739, allocations: 244.9 kB / 0.983 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.974, allocations: 42.52 kB / 0.9831 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.9741, allocations: 4 kB / 0.9831 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.9741, allocations: 42.55 kB / 0.9831 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9741, allocations: 0 / 0.9831 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.00039/0.9745, allocations: 93.75 kB / 0.9832 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.9746, allocations: 51.41 kB / 0.9833 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.9746, allocations: 97.84 kB / 0.9834 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.9747, allocations: 29.7 kB / 0.9834 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.9747, allocations: 88.08 kB / 0.9835 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.9747, allocations: 3.906 kB / 0.9835 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.9747, allocations: 0 / 0.9835 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9749, allocations: 322.9 kB / 0.9838 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.975, allocations: 19.98 kB / 0.9838 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.975, allocations: 19.98 kB / 0.9838 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.555e-05/0.9751, allocations: 27.98 kB / 0.9838 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9751, allocations: 0 / 0.9838 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002238/0.9754, allocations: 77.61 kB / 0.9839 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.9754, allocations: 4 kB / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.9754, allocations: 4.031 kB / 0.9839 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.9754, allocations: 4 kB / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.9755, allocations: 11.98 kB / 0.9839 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9755, allocations: 3.938 kB / 0.9839 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.9756, allocations: 7.984 kB / 0.9839 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.9756, allocations: 0 / 0.9839 GB, free: 2.891 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 (2): * Single equations (assignments): 2 * 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 7.912e-05/0.9757, allocations: 117.8 kB / 0.9841 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.9757, allocations: 7.953 kB / 0.9841 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.976, allocations: 84.72 kB / 0.9841 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.976, allocations: 0 / 0.9841 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.976, allocations: 0 / 0.9841 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.976, allocations: 32 / 0.9841 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.9762, allocations: 169.6 kB / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9762, allocations: 0 / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.9762, allocations: 8 kB / 0.9843 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.9763, allocations: 4 kB / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.9763, allocations: 7.938 kB / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.9763, allocations: 0 / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9763, allocations: 0 / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.9765, allocations: 171.6 kB / 0.9845 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.9766, allocations: 81.11 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.9766, allocations: 3.984 kB / 0.9846 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.9767, allocations: 15.98 kB / 0.9846 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.9767, allocations: 7.984 kB / 0.9846 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.9767, allocations: 0 / 0.9846 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.9768, allocations: 79.28 kB / 0.9847 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9768, allocations: 0 / 0.9847 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002177/0.977, allocations: 4 kB / 0.9847 GB, free: 2.047 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 (2): * Single equations (assignments): 2 * 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.0005978/0.9776, allocations: 0.7021 MB / 0.9854 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.9779, allocations: 51.92 kB / 0.9854 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9779, allocations: 0 / 0.9854 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.978, allocations: 27.98 kB / 0.9854 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.9782, allocations: 3.953 kB / 0.9854 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.9786, allocations: 148.4 kB / 0.9856 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.9789, allocations: 0.677 MB / 0.9862 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.9789, allocations: 0 / 0.9862 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.979, allocations: 15.44 kB / 0.9863 GB, free: 336 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.979, allocations: 0 / 0.9863 GB, free: 336 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/1.115, allocations: 0.9988 MB / 0.9872 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/1.116, allocations: 192 kB / 0.9874 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.677, allocations: 7.938 kB / 0.9874 GB, free: 15.21 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat does not exist to compare? outputFormat=mat