Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.00144/0.001441, allocations: 99.78 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.001653/0.001653, 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.233/2.233, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.348/3.348, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004198, allocations: 16 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8389, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.0009187/0.8398, allocations: 394.5 kB / 0.9813 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.8408, allocations: 0.7986 MB / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.8408, allocations: 0 / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.8409, allocations: 0 / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.8409, allocations: 4 kB / 0.982 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.8411, allocations: 4 kB / 0.982 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.8411, allocations: 15.97 kB / 0.9821 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.8412, allocations: 4 kB / 0.9821 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.8413, allocations: 11.92 kB / 0.9821 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.8414, allocations: 8 kB / 0.9821 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.8414, allocations: 3.984 kB / 0.9821 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.8414, allocations: 7.938 kB / 0.9821 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.8414, allocations: 3.984 kB / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.8415, allocations: 29.64 kB / 0.9821 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.586e-05/0.8415, allocations: 15.97 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.8415, allocations: 0 / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8415, allocations: 0 / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.8415, allocations: 0 / 0.9821 GB, free: 5.02 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.0005167/0.8421, allocations: 345.5 kB / 0.9825 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.8421, allocations: 12.03 kB / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.8422, allocations: 34.56 kB / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.8422, allocations: 0 / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8423, allocations: 159.1 kB / 0.9827 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.8424, allocations: 4 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.8424, allocations: 0 / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.8426, allocations: 61.62 kB / 0.9827 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8426, allocations: 0 / 0.9827 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.8426, allocations: 0 / 0.9827 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.8426, allocations: 0 / 0.9827 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.8428, allocations: 51.89 kB / 0.9828 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.8432, allocations: 244.9 kB / 0.983 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.8434, allocations: 50.5 kB / 0.9831 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.8434, allocations: 0 / 0.9831 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.8435, allocations: 34.56 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.8435, allocations: 0 / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003768/0.8439, allocations: 105.7 kB / 0.9832 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.8439, allocations: 55.41 kB / 0.9833 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.844, allocations: 97.86 kB / 0.9833 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.844, allocations: 25.7 kB / 0.9834 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.8441, allocations: 80.14 kB / 0.9834 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.8441, allocations: 11.83 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.8441, allocations: 4 kB / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8442, allocations: 314.8 kB / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.8443, allocations: 20.02 kB / 0.9838 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.8444, allocations: 23.98 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.8445, allocations: 24.03 kB / 0.9838 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8445, allocations: 0 / 0.9838 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.8447, allocations: 81.56 kB / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8447, allocations: 4 kB / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8447, allocations: 0 / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.8447, allocations: 4.031 kB / 0.9839 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.8448, allocations: 11.98 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8449, allocations: 0 / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.8449, allocations: 15.92 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.8449, allocations: 11.94 kB / 0.9839 GB, free: 2.945 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.68e-05/0.845, allocations: 109.8 kB / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.845, allocations: 3.953 kB / 0.9841 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.8453, allocations: 88.72 kB / 0.9841 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8453, allocations: 0 / 0.9841 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.8453, allocations: 0 / 0.9841 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8453, allocations: 0 / 0.9841 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.8455, allocations: 165.6 kB / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8455, allocations: 0 / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.8455, allocations: 11.98 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8456, allocations: 0 / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.8456, allocations: 7.953 kB / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.8456, allocations: 0 / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8456, allocations: 0 / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.8458, allocations: 167.5 kB / 0.9845 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.8459, allocations: 77.11 kB / 0.9846 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.8459, allocations: 8 kB / 0.9846 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.846, allocations: 15.88 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.846, allocations: 4.031 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.846, allocations: 4 kB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.8461, allocations: 75.28 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8461, allocations: 0 / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002101/0.8463, allocations: 4 kB / 0.9847 GB, free: 2.121 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.0005086/0.8468, allocations: 0.7047 MB / 0.9853 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.847, allocations: 51.94 kB / 0.9854 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.847, allocations: 0 / 0.9854 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.218e-05/0.8471, allocations: 23.98 kB / 0.9854 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.8473, allocations: 11.94 kB / 0.9854 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.8478, allocations: 140.4 kB / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.8482, allocations: 0.677 MB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.8482, allocations: 0 / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.8482, allocations: 11.44 kB / 0.9862 GB, free: 416 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8483, allocations: 4 kB / 0.9862 GB, free: 412 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.8697, allocations: 0.9965 MB / 0.9872 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.8701, allocations: 183 kB / 0.9874 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.725, allocations: 2.531 kB / 0.9874 GB, free: 15.3 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat does not exist to compare? outputFormat=mat