Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",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.158/2.158, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001145/0.001145, allocations: 172.9 kB / 496.1 MB, free: 12.84 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.361/1.361, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.0008698/0.00087, allocations: 87.67 kB / 0.9317 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.161e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2658, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9045/1.17, allocations: 150.2 MB / 1.365 GB, free: 3.879 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.171, allocations: 91.67 kB / 1.366 GB, free: 3.824 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002338/1.173, allocations: 0.8644 MB / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.533e-06/1.173, allocations: 0 / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.173, allocations: 3.25 kB / 1.366 GB, free: 3.023 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.0004208/1.174, allocations: 366.3 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.174, allocations: 8.031 kB / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/1.174, allocations: 30.56 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/1.174, allocations: 7.906 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/1.174, allocations: 174.9 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/1.174, allocations: 0 / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/1.174, allocations: 7.062 kB / 1.367 GB, free: 2.355 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/1.174, allocations: 55.3 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/1.174, allocations: 0 / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/1.174, allocations: 0 / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.174, allocations: 0 / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/1.174, allocations: 20.88 kB / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/1.175, allocations: 315.8 kB / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/1.175, allocations: 31.83 kB / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/1.175, allocations: 19.92 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/1.175, allocations: 0 / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/1.175, allocations: 34.56 kB / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/1.175, allocations: 0 / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001645/1.175, allocations: 58.28 kB / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.175, allocations: 55.36 kB / 1.368 GB, free: 1.734 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/1.175, allocations: 103.9 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/1.175, allocations: 25.7 kB / 1.368 GB, free: 1.598 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/1.175, allocations: 94.72 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/1.175, allocations: 15.14 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.175, allocations: 0 / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/1.175, allocations: 314.8 kB / 1.368 GB, free: 1.176 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/1.175, allocations: 13.94 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/1.175, allocations: 9.219 kB / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/1.175, allocations: 11.3 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/1.175, allocations: 0 / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/1.175, allocations: 47.95 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.175, allocations: 4 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/1.175, allocations: 7.938 kB / 1.368 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.175, allocations: 0 / 1.368 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/1.176, allocations: 27.97 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.176, allocations: 0 / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/1.176, allocations: 22.88 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/1.176, allocations: 0 / 1.368 GB, free: 1.051 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.24e-05/1.176, allocations: 101 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/1.176, allocations: 11.91 kB / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/1.176, allocations: 7.406 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.176, allocations: 3.984 kB / 1.368 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.176, allocations: 0 / 1.368 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/1.176, allocations: 0 / 1.368 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/1.176, allocations: 172.4 kB / 1.369 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.176, allocations: 3.938 kB / 1.369 GB, free: 0.707 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/1.176, allocations: 22.97 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.176, allocations: 8 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/1.176, allocations: 3.938 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/1.176, allocations: 0 / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.176, allocations: 0 / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/1.176, allocations: 161.5 kB / 1.369 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/1.176, allocations: 77.11 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/1.176, allocations: 4 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.177, allocations: 19.98 kB / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/1.177, allocations: 3.984 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/1.177, allocations: 0 / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of sorting global known variables: time 4.32e-05/1.177, allocations: 89.91 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.177, allocations: 0 / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001889/1.177, allocations: 8 kB / 1.369 GB, free: 308 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.0003771/1.177, allocations: 0.6926 MB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.427e-05/1.177, allocations: 23.3 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.177, allocations: 0 / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/1.177, allocations: 11.5 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/1.178, allocations: 9.266 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/1.178, allocations: 114.8 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/1.178, allocations: 0.6848 MB / 1.37 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.678e-05/1.178, allocations: 7.938 kB / 1.37 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/1.178, allocations: 10.62 kB / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of SimCode: time 1.663e-06/1.178, allocations: 0 / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/1.19, allocations: 1.36 MB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.19, allocations: 171.5 kB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.691, allocations: 0 / 1.372 GB, free: 13.28 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat