Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.267/2.267, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.000945, allocations: 103.7 kB / 0.9318 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.533e-05/4.536e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3034, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8952/1.199, allocations: 149.6 MB / 1.365 GB, free: 4.453 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/1.199, allocations: 71.52 kB / 1.365 GB, free: 4.414 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003791/1.203, allocations: 1.393 MB / 1.366 GB, free: 3.203 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.416e-06/1.203, allocations: 4 kB / 1.366 GB, free: 3.199 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.203, allocations: 3.938 kB / 1.366 GB, free: 3.195 MB / 0.823 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.0004083/1.203, allocations: 365.3 kB / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.203, allocations: 8.031 kB / 1.367 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/1.203, allocations: 38 kB / 1.367 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/1.203, allocations: 10.25 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/1.203, allocations: 178.9 kB / 1.367 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/1.203, allocations: 0 / 1.367 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/1.204, allocations: 4 kB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/1.204, allocations: 43.81 kB / 1.367 GB, free: 2.477 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/1.204, allocations: 0 / 1.367 GB, free: 2.477 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.204, allocations: 2.188 kB / 1.367 GB, free: 2.477 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.204, allocations: 0 / 1.367 GB, free: 2.477 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/1.204, allocations: 23.25 kB / 1.367 GB, free: 2.461 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/1.204, allocations: 308.2 kB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/1.204, allocations: 33.33 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/1.204, allocations: 20.11 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/1.204, allocations: 0 / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/1.205, allocations: 34.5 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.205, allocations: 0 / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001753/1.205, allocations: 52.31 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/1.205, allocations: 59.36 kB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/1.205, allocations: 99.94 kB / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/1.205, allocations: 25.7 kB / 1.368 GB, free: 1.777 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/1.205, allocations: 91.56 kB / 1.368 GB, free: 1.688 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/1.205, allocations: 15.75 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.205, allocations: 0 / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.205, allocations: 314.5 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/1.205, allocations: 11.44 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/1.205, allocations: 6.875 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/1.205, allocations: 10.86 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.205, allocations: 0 / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.075e-05/1.205, allocations: 55.2 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.205, allocations: 11.98 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.205, allocations: 1.25 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.205, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/1.205, allocations: 19.98 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.205, allocations: 0 / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/1.206, allocations: 23.94 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/1.206, allocations: 4 kB / 1.368 GB, free: 1.227 MB / 0.823 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 () * 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 5.683e-05/1.206, allocations: 104.1 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/1.206, allocations: 3.906 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/1.206, allocations: 15.02 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.206, allocations: 0 / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.206, allocations: 0 / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/1.206, allocations: 0 / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/1.206, allocations: 169.8 kB / 1.368 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.206, allocations: 0 / 1.368 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/1.206, allocations: 27.97 kB / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/1.206, allocations: 7.922 kB / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/1.206, allocations: 3.938 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.206, allocations: 0 / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.206, allocations: 4 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/1.206, allocations: 149.5 kB / 1.369 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/1.206, allocations: 89.02 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/1.206, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/1.206, allocations: 15.98 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/1.206, allocations: 3.984 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/1.207, allocations: 7.125 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.372e-05/1.207, allocations: 83.42 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.207, allocations: 0 / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00021/1.207, allocations: 12 kB / 1.369 GB, free: 492 kB / 0.823 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 () * 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.0004048/1.207, allocations: 0.687 MB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.536e-05/1.207, allocations: 22.31 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.207, allocations: 0 / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/1.207, allocations: 15.88 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/1.208, allocations: 12.8 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/1.208, allocations: 105.2 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/1.208, allocations: 0.6809 MB / 1.37 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.233e-05/1.208, allocations: 7.984 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/1.208, allocations: 15.25 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.208, allocations: 0 / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/1.222, allocations: 1.326 MB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/1.222, allocations: 164.4 kB / 1.372 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.775, allocations: 0 / 1.372 GB, free: 13.47 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat does not exist to compare? outputFormat=mat