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/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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001244/0.001244, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.525/2.525, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 71.88 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8021, allocations: 140.3 MB / 0.9489 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002769/0.8049, allocations: 0.8286 MB / 0.9497 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.8062, allocations: 0.8651 MB / 0.9506 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.8063, allocations: 1.344 kB / 0.9506 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.788e-05/0.8064, allocations: 3.938 kB / 0.9506 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.8065, allocations: 9.219 kB / 0.9506 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.8068, allocations: 38.14 kB / 0.9506 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.8069, allocations: 82.58 kB / 0.9507 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8071, allocations: 21.17 kB / 0.9507 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.8072, allocations: 45.11 kB / 0.9508 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.8073, allocations: 44.42 kB / 0.9508 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.8073, allocations: 5.594 kB / 0.9508 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.8074, allocations: 5 kB / 0.9508 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.8074, allocations: 22.31 kB / 0.9508 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.8075, allocations: 26.92 kB / 0.9509 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.8076, allocations: 77.91 kB / 0.9509 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8076, allocations: 3.938 kB / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.083e-06/0.8076, allocations: 0 / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.8076, allocations: 5.938 kB / 0.951 GB, free: 7.883 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006471/0.8083, allocations: 401 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.8083, allocations: 9.188 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.8084, allocations: 7.594 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.8085, allocations: 173.8 kB / 0.9515 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.8086, allocations: 11.23 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.8086, allocations: 8.516 kB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.8089, allocations: 104.1 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8089, allocations: 4 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.809, allocations: 5.219 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.809, allocations: 1.094 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.8094, allocations: 95.28 kB / 0.9517 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.8099, allocations: 351.8 kB / 0.9521 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.8106, allocations: 117.5 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.8108, allocations: 62.31 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.8108, allocations: 1.25 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.8108, allocations: 31.88 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.8108, allocations: 0 / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006538/0.8115, allocations: 184.2 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.8115, allocations: 55.34 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.8116, allocations: 125.7 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8117, allocations: 26.8 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.8117, allocations: 95.17 kB / 0.9527 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.8117, allocations: 21.5 kB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.8118, allocations: 27.89 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.8119, allocations: 325.9 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8121, allocations: 46.77 kB / 0.9531 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.8122, allocations: 45.33 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.8126, allocations: 94.28 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8126, allocations: 4 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003946/0.813, allocations: 139.7 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.813, allocations: 5.312 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.813, allocations: 0 / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.813, allocations: 5.625 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.8132, allocations: 23.94 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8132, allocations: 0 / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.8134, allocations: 23.3 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.8134, allocations: 6.266 kB / 0.9535 GB, free: 5.637 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.619e-05/0.8135, allocations: 113.2 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.8135, allocations: 6.719 kB / 0.9536 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.8135, allocations: 9.812 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8135, allocations: 1.344 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.8135, allocations: 0 / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.8136, allocations: 3.938 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.8137, allocations: 207.8 kB / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8137, allocations: 0.9062 kB / 0.9538 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.8139, allocations: 23.41 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.8139, allocations: 5.312 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.8139, allocations: 5.453 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8139, allocations: 0.5469 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8139, allocations: 0 / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.8144, allocations: 243.9 kB / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.8144, allocations: 82.48 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.8144, allocations: 1.312 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.8146, allocations: 11.55 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.8147, allocations: 22.72 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.8147, allocations: 6.125 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.8148, allocations: 100.4 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8148, allocations: 0 / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000241/0.815, allocations: 20.59 kB / 0.9543 GB, free: 4.84 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked 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 (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.0001317/0.8152, allocations: 113.2 kB / 0.9544 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.8156, allocations: 100.9 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8156, allocations: 4 kB / 0.9545 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.8158, allocations: 63.94 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.8162, allocations: 14.06 kB / 0.9546 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.8168, allocations: 192.8 kB / 0.9548 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.817, allocations: 0.6913 MB / 0.9554 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.626e-05/0.8171, allocations: 10 kB / 0.9555 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.8172, allocations: 16.45 kB / 0.9555 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of SimCode: time 4.3e-07/0.8172, allocations: 0 / 0.9555 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.005123/0.8223, allocations: 1.352 MB / 0.9568 GB, free: 3.07 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches