Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 387.4 MB / 394.9 MB, free: 13.23 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.0009401/0.0009403, allocations: 180.6 kB / 487.4 MB, free: 4.934 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 103 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.872e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3394, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.39, allocations: 148.1 MB / 1.351 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.39, allocations: 69.56 kB / 1.351 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002811/1.393, allocations: 0.7993 MB / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.235e-06/1.393, allocations: 0 / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.393, allocations: 0 / 1.352 GB, free: 33.67 MB / 0.8386 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.000386/1.394, allocations: 368.4 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.394, allocations: 7.688 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/1.394, allocations: 7.75 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.699e-05/1.394, allocations: 168.5 kB / 1.352 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/1.394, allocations: 0 / 1.352 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/1.394, allocations: 0 / 1.352 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.266e-05/1.394, allocations: 23.34 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.286e-05/1.394, allocations: 48.17 kB / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/1.394, allocations: 0 / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/1.394, allocations: 0 / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/1.394, allocations: 0 / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/1.394, allocations: 253 kB / 1.352 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/1.394, allocations: 34.44 kB / 1.352 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/1.394, allocations: 16.33 kB / 1.352 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/1.394, allocations: 3.938 kB / 1.352 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/1.394, allocations: 40.31 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.394, allocations: 0 / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001362/1.395, allocations: 49.22 kB / 1.352 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/1.395, allocations: 53.19 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/1.395, allocations: 101.8 kB / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/1.395, allocations: 25.7 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/1.395, allocations: 89.16 kB / 1.353 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/1.395, allocations: 7.812 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/1.395, allocations: 0 / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.395, allocations: 320.1 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/1.395, allocations: 10.44 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/1.395, allocations: 8.516 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/1.395, allocations: 8.484 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/1.395, allocations: 4 kB / 1.353 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.119e-05/1.395, allocations: 54.52 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/1.395, allocations: 3.812 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.395, allocations: 0 / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.395, allocations: 0 / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/1.395, allocations: 20.72 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.395, allocations: 0 / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/1.395, allocations: 24.14 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/1.395, allocations: 0 / 1.353 GB, free: 32.08 MB / 0.8386 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 6.385e-05/1.395, allocations: 106.3 kB / 1.353 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.563e-05/1.395, allocations: 53.44 kB / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/1.396, allocations: 1.312 kB / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/1.396, allocations: 15.09 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.396, allocations: 2.594 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.396, allocations: 0 / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/1.396, allocations: 4 kB / 1.353 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/1.396, allocations: 149.6 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.396, allocations: 1.344 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/1.396, allocations: 19.88 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.396, allocations: 1.312 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/1.396, allocations: 0 / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.396, allocations: 1.344 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.396, allocations: 0 / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/1.396, allocations: 155.9 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/1.396, allocations: 78.42 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/1.396, allocations: 6.688 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.396, allocations: 14.84 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/1.396, allocations: 5.078 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/1.396, allocations: 8.25 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.365e-05/1.396, allocations: 90.28 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.72e-07/1.396, allocations: 0 / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002088/1.396, allocations: 14.38 kB / 1.354 GB, free: 31.43 MB / 0.8386 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.0003933/1.397, allocations: 0.6805 MB / 1.355 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.206e-05/1.397, allocations: 23.38 kB / 1.355 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.397, allocations: 0 / 1.355 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/1.397, allocations: 19.38 kB / 1.355 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/1.397, allocations: 4.516 kB / 1.355 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/1.398, allocations: 97.91 kB / 1.355 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/1.398, allocations: 0.6833 MB / 1.355 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.534e-05/1.398, allocations: 11.73 kB / 1.355 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/1.398, allocations: 10.94 kB / 1.355 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.398, allocations: 0 / 1.355 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/1.417, allocations: 0.9595 MB / 1.356 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/1.417, allocations: 147 kB / 1.356 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.866, allocations: 4 kB / 1.356 GB, free: 29.7 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat