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.34/2.34, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001289/0.001289, allocations: 186.1 kB / 498.1 MB, free: 5.676 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.722/1.722, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.001031/0.001031, allocations: 101.1 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003776, allocations: 10.44 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.4115, allocations: 148.8 MB / 1.368 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.4118, allocations: 75.94 kB / 1.368 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00217/0.414, allocations: 0.8025 MB / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.414, allocations: 0 / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.414, allocations: 0 / 1.369 GB, free: 12.21 MB / 0.8698 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.0004774/0.4145, allocations: 375.2 kB / 1.369 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4145, allocations: 12.03 kB / 1.369 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.4146, allocations: 34.55 kB / 1.37 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.4146, allocations: 3.906 kB / 1.37 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4148, allocations: 175 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.4148, allocations: 0 / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.4148, allocations: 4 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4151, allocations: 80.39 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4151, allocations: 4 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4151, allocations: 0 / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4151, allocations: 3.984 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.4154, allocations: 79.94 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.4158, allocations: 276.9 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.416, allocations: 66.53 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.416, allocations: 4 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.4161, allocations: 34.56 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.4161, allocations: 0 / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.000561/0.4166, allocations: 165.7 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.4167, allocations: 59.36 kB / 1.37 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.4168, allocations: 97 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4168, allocations: 25.7 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.4169, allocations: 92.12 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.4169, allocations: 7.844 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.4169, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.417, allocations: 314.8 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.4172, allocations: 51.89 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4173, allocations: 43.95 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.4175, allocations: 47.95 kB / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4175, allocations: 0 / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003419/0.4178, allocations: 121.5 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4178, allocations: 8 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4178, allocations: 0 / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4179, allocations: 0 / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.418, allocations: 23.98 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.418, allocations: 3.938 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.4181, allocations: 23.92 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4181, allocations: 0 / 1.371 GB, free: 9.801 MB / 0.8698 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 (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 7.572e-05/0.4182, allocations: 113.8 kB / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.4182, allocations: 4 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.4183, allocations: 3.906 kB / 1.371 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.4183, allocations: 4 kB / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4183, allocations: 0 / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4183, allocations: 0 / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.4185, allocations: 177.5 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4185, allocations: 0 / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.4186, allocations: 19.98 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4186, allocations: 4 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4186, allocations: 0 / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4186, allocations: 4 kB / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4186, allocations: 320 / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.419, allocations: 223.4 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.4191, allocations: 77.11 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4191, allocations: 4 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.4192, allocations: 19.98 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.4193, allocations: 7.984 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.4193, allocations: 0 / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.4193, allocations: 91.27 kB / 1.372 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4193, allocations: 0 / 1.372 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002075/0.4195, allocations: 7.906 kB / 1.372 GB, free: 8.953 MB / 0.8698 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 (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.0007165/0.4203, allocations: 0.759 MB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.4206, allocations: 91.92 kB / 1.373 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4206, allocations: 3.938 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.4208, allocations: 43.95 kB / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.421, allocations: 8 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.4215, allocations: 162.5 kB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4218, allocations: 0.6848 MB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.4218, allocations: 8.422 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.4219, allocations: 11.44 kB / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4219, allocations: 0 / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.434, allocations: 1.273 MB / 1.375 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.4343, allocations: 194.2 kB / 1.375 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/1.956, allocations: 0 / 1.375 GB, free: 5.707 MB / 0.8698 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