Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Log10,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",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.0007636/0.0007635, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008255/0.0008255, allocations: 172.7 kB / 15.95 MB, free: 208 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.375/1.375, allocations: 223.2 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.4 MB / 0.6655 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 16 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7643/0.7647, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.000808/0.7655, allocations: 391.3 kB / 0.9542 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.7664, allocations: 0.7967 MB / 0.955 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.7664, allocations: 0.9688 kB / 0.955 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.7664, allocations: 0 / 0.955 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.7665, allocations: 4.969 kB / 0.955 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.7666, allocations: 5.734 kB / 0.955 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.983e-05/0.7667, allocations: 19.28 kB / 0.9551 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.7668, allocations: 7.047 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.7669, allocations: 10.67 kB / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.7669, allocations: 14.98 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.767, allocations: 1.062 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.767, allocations: 1.094 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.767, allocations: 0.7812 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.767, allocations: 30.92 kB / 0.9551 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.682e-05/0.7671, allocations: 11.09 kB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7671, allocations: 0 / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7671, allocations: 0.8125 kB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.7671, allocations: 0 / 0.9551 GB, free: 7.105 MB / 0.7169 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.0004512/0.7676, allocations: 346.5 kB / 0.9555 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.7676, allocations: 8.5 kB / 0.9555 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.7677, allocations: 35.5 kB / 0.9555 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.7677, allocations: 9.234 kB / 0.9555 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.7678, allocations: 164.2 kB / 0.9557 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.7679, allocations: 5.25 kB / 0.9557 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.7679, allocations: 0.9375 kB / 0.9557 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.7681, allocations: 58.45 kB / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7681, allocations: 0 / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7681, allocations: 0 / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.7681, allocations: 1.406 kB / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.7683, allocations: 46.97 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.7687, allocations: 253.5 kB / 0.956 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.7688, allocations: 39.62 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.7689, allocations: 35.75 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.7689, allocations: 0 / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.7689, allocations: 31.78 kB / 0.9561 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.769, allocations: 0 / 0.9561 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003332/0.7693, allocations: 110.8 kB / 0.9562 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.7693, allocations: 52.91 kB / 0.9563 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.7694, allocations: 98.19 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.7694, allocations: 30.98 kB / 0.9564 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.7694, allocations: 80.14 kB / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.7695, allocations: 13.53 kB / 0.9565 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.7695, allocations: 0 / 0.9565 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.7695, allocations: 316 kB / 0.9568 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.7696, allocations: 22.39 kB / 0.9568 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.7697, allocations: 17.92 kB / 0.9568 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.7698, allocations: 26.27 kB / 0.9569 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7698, allocations: 0 / 0.9569 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.7699, allocations: 81.66 kB / 0.9569 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.77, allocations: 5.562 kB / 0.9569 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.77, allocations: 0 / 0.9569 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.77, allocations: 5.109 kB / 0.9569 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.7701, allocations: 11.61 kB / 0.9569 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7701, allocations: 1.281 kB / 0.957 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.7701, allocations: 5.562 kB / 0.957 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.7702, allocations: 1.062 kB / 0.957 GB, free: 5.27 MB / 0.7169 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 6.244e-05/0.7702, allocations: 120 kB / 0.9571 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.7703, allocations: 1.25 kB / 0.9571 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.7705, allocations: 76 kB / 0.9571 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7705, allocations: 7.969 kB / 0.9572 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.7705, allocations: 5.078 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7705, allocations: 3.938 kB / 0.9572 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.7706, allocations: 158.2 kB / 0.9573 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7706, allocations: 3.984 kB / 0.9573 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.7707, allocations: 12.59 kB / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7707, allocations: 0 / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.7707, allocations: 1.125 kB / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7707, allocations: 0 / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7707, allocations: 5.125 kB / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.7709, allocations: 171.9 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.771, allocations: 82.12 kB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.771, allocations: 5.156 kB / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.7711, allocations: 10 kB / 0.9576 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.7711, allocations: 9.078 kB / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.7711, allocations: 5 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.491e-05/0.7711, allocations: 82.3 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7711, allocations: 0 / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002133/0.7714, allocations: 4.094 kB / 0.9577 GB, free: 4.52 MB / 0.7169 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.000427/0.7718, allocations: 0.7043 MB / 0.9584 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.772, allocations: 51.2 kB / 0.9584 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.772, allocations: 0 / 0.9584 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.7721, allocations: 32.64 kB / 0.9585 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.7724, allocations: 4.672 kB / 0.9585 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.7728, allocations: 130.8 kB / 0.9586 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.7729, allocations: 0.6768 MB / 0.9592 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.7729, allocations: 9.906 kB / 0.9593 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.773, allocations: 11.44 kB / 0.9593 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.773, allocations: 5.219 kB / 0.9593 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.7836, allocations: 1.012 MB / 0.9603 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.7838, allocations: 192.8 kB / 0.9604 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.428, allocations: 0 / 0.9604 GB, free: 2.219 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat does not exist to compare? outputFormat=mat