Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_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.302/2.302, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001562/0.001563, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 1.016 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.001049/0.001049, allocations: 98.12 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.154e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.312, allocations: 148.4 MB / 1.351 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.313, allocations: 71.25 kB / 1.351 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005223/1.318, allocations: 1.432 MB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/1.318, allocations: 4 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.318, allocations: 3.938 kB / 1.352 GB, free: 33.71 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005191/1.319, allocations: 383 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.319, allocations: 8.422 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/1.319, allocations: 11.75 kB / 1.353 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/1.319, allocations: 180.2 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.319, allocations: 3.875 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/1.319, allocations: 3.938 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001279/1.319, allocations: 47.77 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/1.319, allocations: 67.73 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.319, allocations: 0 / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.319, allocations: 0 / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.319, allocations: 3.844 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/1.32, allocations: 319.3 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/1.32, allocations: 85.02 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/1.32, allocations: 33.22 kB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/1.32, allocations: 3.656 kB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/1.32, allocations: 40.42 kB / 1.354 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.32, allocations: 0 / 1.354 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002483/1.321, allocations: 80.64 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/1.321, allocations: 51.41 kB / 1.354 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/1.321, allocations: 116.6 kB / 1.354 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/1.321, allocations: 25.7 kB / 1.354 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/1.321, allocations: 97.77 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/1.321, allocations: 21.09 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/1.321, allocations: 4 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.321, allocations: 320.4 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/1.321, allocations: 18.61 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/1.321, allocations: 23.55 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/1.321, allocations: 16.69 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.321, allocations: 3.938 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001294/1.321, allocations: 77.77 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.321, allocations: 8.172 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.321, allocations: 0 / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.321, allocations: 4.562 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/1.321, allocations: 31.5 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.321, allocations: 3.875 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/1.322, allocations: 24.3 kB / 1.354 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/1.322, allocations: 1.5 kB / 1.354 GB, free: 32.09 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.255e-05/1.322, allocations: 109.9 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000142/1.322, allocations: 81.28 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/1.322, allocations: 7.781 kB / 1.355 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/1.322, allocations: 13.55 kB / 1.355 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.322, allocations: 7.922 kB / 1.355 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.322, allocations: 3.953 kB / 1.355 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.322, allocations: 0.5625 kB / 1.355 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/1.322, allocations: 175.9 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.322, allocations: 3.906 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/1.322, allocations: 31.83 kB / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.322, allocations: 0 / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/1.322, allocations: 4.234 kB / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/1.322, allocations: 4.672 kB / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.322, allocations: 0 / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/1.322, allocations: 181.2 kB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/1.323, allocations: 92.5 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/1.323, allocations: 0 / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/1.323, allocations: 16.91 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/1.323, allocations: 19.12 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/1.323, allocations: 4.75 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.85e-05/1.323, allocations: 89.5 kB / 1.355 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.323, allocations: 0 / 1.355 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002342/1.323, allocations: 20.3 kB / 1.355 GB, free: 31.44 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004847/1.324, allocations: 0.7345 MB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001539/1.324, allocations: 51.53 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.324, allocations: 0 / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/1.324, allocations: 35.17 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/1.324, allocations: 11.62 kB / 1.356 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/1.325, allocations: 143.3 kB / 1.356 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/1.325, allocations: 0.694 MB / 1.357 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.041e-05/1.325, allocations: 13.22 kB / 1.357 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/1.325, allocations: 26.58 kB / 1.357 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.325, allocations: 0 / 1.357 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/1.347, allocations: 1.884 MB / 1.359 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.347, allocations: 144.8 kB / 1.359 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.917, allocations: 7.875 kB / 1.359 GB, free: 29.64 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat