Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01117/0.01117, allocations: 101.1 kB / 15.73 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 193.5 kB / 16.67 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 63.89 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.8552, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001933/0.8572, allocations: 0.7104 MB / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.8581, allocations: 0.8001 MB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.8581, allocations: 0 / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.8582, allocations: 3.938 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.8582, allocations: 7.938 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.947e-05/0.8583, allocations: 11.98 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.379e-05/0.8584, allocations: 51.83 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.8585, allocations: 4 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.005e-05/0.8585, allocations: 23.92 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.667e-05/0.8586, allocations: 15.92 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.8586, allocations: 4 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-06/0.8586, allocations: 4 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.8586, allocations: 11.92 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.8587, allocations: 19.92 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.863e-05/0.8588, allocations: 43.86 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8588, allocations: 3.938 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8588, allocations: 3.938 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.8588, allocations: 0 / 1.168 GB, free: 2.008 MB / 0.8887 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.0004583/0.8592, allocations: 367 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.8593, allocations: 12.92 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.8593, allocations: 34.75 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.8594, allocations: 16.88 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.8595, allocations: 164.3 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.8595, allocations: 384 / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.8595, allocations: 4.375 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.8597, allocations: 70.22 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8597, allocations: 3.938 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.8598, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8598, allocations: 4 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.8601, allocations: 63.92 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.8604, allocations: 276.8 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.8606, allocations: 50.53 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.8608, allocations: 48.92 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.8608, allocations: 0 / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.8608, allocations: 30.56 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.8608, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005232/0.8613, allocations: 133.7 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.8614, allocations: 51.41 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.8615, allocations: 109.8 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.8615, allocations: 29.7 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.8615, allocations: 86.52 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.8615, allocations: 19.89 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.8616, allocations: 9.719 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8617, allocations: 322.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.8618, allocations: 31.95 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.862, allocations: 35.95 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.8623, allocations: 72.72 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8623, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.8626, allocations: 97.56 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8626, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8626, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8626, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.8628, allocations: 19.92 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8628, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.8629, allocations: 15.97 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.8629, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.8629, allocations: 120 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.863, allocations: 7.891 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.863, allocations: 7.906 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.863, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.863, allocations: 4 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.863, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.8632, allocations: 173.6 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8632, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.365e-05/0.8633, allocations: 15.98 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8633, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.8633, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.8633, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8633, allocations: 3.938 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.8637, allocations: 199.4 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.8637, allocations: 85.06 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.8638, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.8639, allocations: 7.984 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.8639, allocations: 11.98 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.8639, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.864, allocations: 83.28 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.864, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002143/0.8642, allocations: 8 kB / 1.171 GB, free: 14.81 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006372/0.8648, allocations: 0.7357 MB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.8652, allocations: 67.92 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8652, allocations: 0 / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.8654, allocations: 40.28 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.8657, allocations: 4 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.8661, allocations: 162.9 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.8663, allocations: 0.6807 MB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.8664, allocations: 4.094 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.8664, allocations: 15.44 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8664, allocations: 3.938 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.8823, allocations: 1.637 MB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.592, allocations: 7.219 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches