Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.001253/0.001253, allocations: 100.1 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.001563/0.001563, 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.755/1.755, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.026/3.026, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003832, allocations: 12 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/0.7706, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0009344/0.7716, allocations: 382.5 kB / 0.9813 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001598/0.7718, allocations: 7.938 kB / 0.9813 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.7718, allocations: 4 kB / 0.9813 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.772, allocations: 11.86 kB / 0.9813 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.772, allocations: 0 / 0.9813 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.621e-05/0.7721, allocations: 4 kB / 0.9813 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.7722, allocations: 23.97 kB / 0.9813 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.7723, allocations: 23.98 kB / 0.9813 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.7724, allocations: 11.94 kB / 0.9813 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.7724, allocations: 7.922 kB / 0.9813 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.7724, allocations: 4 kB / 0.9814 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.7725, allocations: 0 / 0.9814 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.7725, allocations: 11.98 kB / 0.9814 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.7725, allocations: 33.64 kB / 0.9814 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.385e-05/0.7726, allocations: 35.94 kB / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.7726, allocations: 0 / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7726, allocations: 0 / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7726, allocations: 0 / 0.9814 GB, free: 5.777 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.0003565/0.773, allocations: 337.5 kB / 0.9818 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.7731, allocations: 12.02 kB / 0.9818 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.7731, allocations: 30.56 kB / 0.9818 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.7731, allocations: 4 kB / 0.9818 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.7733, allocations: 190.8 kB / 0.982 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.7733, allocations: 4 kB / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.7734, allocations: 7.938 kB / 0.982 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.7735, allocations: 77.62 kB / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.7736, allocations: 0 / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.7736, allocations: 3.984 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.7736, allocations: 0 / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.7737, allocations: 47.97 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.7742, allocations: 491.1 kB / 0.9826 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.7743, allocations: 165.1 kB / 0.9827 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.7743, allocations: 75.28 kB / 0.9828 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.7744, allocations: 113.8 kB / 0.9829 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7744, allocations: 0 / 0.9829 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.914e-05/0.7744, allocations: 29.7 kB / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.7745, allocations: 130.7 kB / 0.9831 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.7747, allocations: 175.5 kB / 0.9832 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.7747, allocations: 25.7 kB / 0.9833 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.7748, allocations: 96.23 kB / 0.9834 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.7748, allocations: 3.938 kB / 0.9834 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.7748, allocations: 0 / 0.9834 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7749, allocations: 318.8 kB / 0.9837 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.7749, allocations: 11.98 kB / 0.9837 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.7749, allocations: 8 kB / 0.9837 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.775, allocations: 15.92 kB / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.775, allocations: 0 / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001202/0.7751, allocations: 53.53 kB / 0.9837 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7751, allocations: 8 kB / 0.9838 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7752, allocations: 0 / 0.9838 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.7752, allocations: 0 / 0.9838 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.7752, allocations: 3.984 kB / 0.9838 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7752, allocations: 4 kB / 0.9838 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.7753, allocations: 8.094 kB / 0.9838 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.7753, allocations: 0 / 0.9838 GB, free: 3.148 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.0001105/0.7754, allocations: 197.1 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.7755, allocations: 112.8 kB / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.7755, allocations: 115.3 kB / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.089e-05/0.7756, allocations: 184.2 kB / 0.9844 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-05/0.7757, allocations: 188.2 kB / 0.9845 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-05/0.7757, allocations: 176.3 kB / 0.9847 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.776, allocations: 429.1 kB / 0.9851 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/0.776, allocations: 105 kB / 0.9852 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.7761, allocations: 101 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.748e-05/0.7761, allocations: 192.2 kB / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/0.7762, allocations: 176.3 kB / 0.9857 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.539e-05/0.7763, allocations: 184.2 kB / 0.9858 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.623e-05/0.7763, allocations: 176.3 kB / 0.986 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.7765, allocations: 319.6 kB / 0.9863 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.612e-05/0.7766, allocations: 186.1 kB / 0.9865 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.7767, allocations: 180.3 kB / 0.9867 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.7768, allocations: 109 kB / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.7769, allocations: 176.3 kB / 0.9869 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.7769, allocations: 104.9 kB / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001043/0.777, allocations: 136.1 kB / 0.9872 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.4e-07/0.777, allocations: 4 kB / 0.9872 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002174/0.7772, allocations: 11.83 kB / 0.9872 GB, free: 15.45 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.0004056/0.7777, allocations: 0.8091 MB / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.389e-05/0.7777, allocations: 15.94 kB / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7777, allocations: 0 / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.7777, allocations: 0 / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.7781, allocations: 0.5264 MB / 0.9885 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.7789, allocations: 0.584 MB / 0.9891 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.7792, allocations: 0.6926 MB / 0.9897 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.7792, allocations: 11.94 kB / 0.9898 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.7792, allocations: 19.42 kB / 0.9898 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.7793, allocations: 0 / 0.9898 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6516/1.431, allocations: 1.38 MB / 0.9911 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003649/1.431, allocations: 197.5 kB / 0.9913 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/3.267, allocations: 0 / 0.9913 GB, free: 11.2 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat does not exist to compare? outputFormat=mat