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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.001799, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.498/1.498, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8975, allocations: 140.4 MB / 0.9496 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.002215/0.8997, allocations: 0.7111 MB / 0.9503 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.9007, allocations: 0.8001 MB / 0.9511 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.9008, allocations: 1.375 kB / 0.9511 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.9008, allocations: 3.938 kB / 0.9511 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.906e-05/0.9009, allocations: 9.219 kB / 0.9511 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.485e-05/0.901, allocations: 9.266 kB / 0.9511 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.9011, allocations: 41.97 kB / 0.9511 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.9012, allocations: 12.53 kB / 0.9511 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.9013, allocations: 25.19 kB / 0.9512 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.9013, allocations: 17.92 kB / 0.9512 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.9013, allocations: 2.594 kB / 0.9512 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.9014, allocations: 4.906 kB / 0.9512 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.9014, allocations: 15.86 kB / 0.9512 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.9014, allocations: 11.66 kB / 0.9512 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.9015, allocations: 42.77 kB / 0.9513 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.9016, allocations: 1.281 kB / 0.9513 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.088e-06/0.9016, allocations: 0 / 0.9513 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.9016, allocations: 3.938 kB / 0.9513 GB, free: 8.137 MB / 0.7169 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.0005504/0.9021, allocations: 365.3 kB / 0.9516 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9022, allocations: 9.531 kB / 0.9516 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.9022, allocations: 3.562 kB / 0.9516 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.032e-05/0.9023, allocations: 174.9 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.9024, allocations: 1.438 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.9024, allocations: 5.469 kB / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.9026, allocations: 67.5 kB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9026, allocations: 192 / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.9027, allocations: 4.812 kB / 0.9519 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.9027, allocations: 4.656 kB / 0.9519 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.903, allocations: 63.83 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.9033, allocations: 270.4 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.9035, allocations: 56.8 kB / 0.9522 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.9037, allocations: 42.53 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.9037, allocations: 0 / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.9037, allocations: 39.75 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.9038, allocations: 0 / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005251/0.9043, allocations: 133.6 kB / 0.9525 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.9043, allocations: 52.84 kB / 0.9525 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.9044, allocations: 115.4 kB / 0.9526 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.9044, allocations: 25.7 kB / 0.9526 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.9045, allocations: 85.64 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.9045, allocations: 9.281 kB / 0.9527 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.9045, allocations: 16.91 kB / 0.9527 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.9046, allocations: 316 kB / 0.953 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.9047, allocations: 33.44 kB / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.9049, allocations: 33.92 kB / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.9051, allocations: 71.53 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9051, allocations: 3.938 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000318/0.9055, allocations: 105.4 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.9055, allocations: 4.844 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.9055, allocations: 0 / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9055, allocations: 1.438 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.9057, allocations: 13.17 kB / 0.9533 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9057, allocations: 1.094 kB / 0.9533 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.9058, allocations: 10.23 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.9058, allocations: 13.28 kB / 0.9533 GB, free: 6.16 MB / 0.7169 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 6.134e-05/0.9059, allocations: 116.9 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.9059, allocations: 1.656 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.9059, allocations: 9.469 kB / 0.9534 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.9059, allocations: 0 / 0.9534 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9059, allocations: 0 / 0.9534 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.9059, allocations: 0 / 0.9534 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.9061, allocations: 173.5 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.9061, allocations: 1.062 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.9062, allocations: 29.56 kB / 0.9536 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.9062, allocations: 1.156 kB / 0.9536 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.9062, allocations: 0 / 0.9536 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9062, allocations: 0.6875 kB / 0.9536 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9062, allocations: 0 / 0.9536 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.9065, allocations: 196.2 kB / 0.9538 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.9066, allocations: 82.22 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.9066, allocations: 5.156 kB / 0.9539 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.9067, allocations: 11.14 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.9067, allocations: 1.75 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.9068, allocations: 1.281 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.9068, allocations: 89.55 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9068, allocations: 0 / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002082/0.907, allocations: 9.562 kB / 0.954 GB, free: 5.438 MB / 0.7169 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.0001425/0.9072, allocations: 103.3 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.9075, allocations: 66.3 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9075, allocations: 0 / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.9077, allocations: 44.2 kB / 0.9542 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.9081, allocations: 10.67 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.9085, allocations: 131.9 kB / 0.9544 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.9086, allocations: 0.6874 MB / 0.955 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.9087, allocations: 5.125 kB / 0.955 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.9087, allocations: 9 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9087, allocations: 0 / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of Templates: time 0.003413/0.9121, allocations: 0.6791 MB / 0.9557 GB, free: 4.102 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches