Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 111.6 kB / 18.13 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 250.2 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7637 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 63.91 kB / 1.108 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8592/0.8614, allocations: 168.7 MB / 1.273 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002227/0.8637, allocations: 0.7726 MB / 1.274 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.8649, allocations: 0.8701 MB / 1.274 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.865, allocations: 4 kB / 1.274 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.865, allocations: 11.88 kB / 1.274 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.664e-05/0.8651, allocations: 3.938 kB / 1.274 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.8653, allocations: 47.88 kB / 1.275 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.8654, allocations: 79.83 kB / 1.275 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.8655, allocations: 19.98 kB / 1.275 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.8656, allocations: 43.77 kB / 1.275 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.8657, allocations: 51.83 kB / 1.275 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.8658, allocations: 8 kB / 1.275 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.8658, allocations: 8 kB / 1.275 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.8658, allocations: 23.91 kB / 1.275 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.8659, allocations: 31.86 kB / 1.275 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.866, allocations: 93.42 kB / 1.275 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.866, allocations: 0 / 1.275 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.866, allocations: 3.938 kB / 1.275 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.866, allocations: 0 / 1.275 GB, free: 2.148 MB / 0.9669 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.0006483/0.8667, allocations: 391.1 kB / 1.275 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.8667, allocations: 12.03 kB / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.8667, allocations: 38.75 kB / 1.275 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.8668, allocations: 16.88 kB / 1.275 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.8669, allocations: 176.2 kB / 1.275 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.867, allocations: 8.375 kB / 1.275 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.867, allocations: 8.125 kB / 1.275 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.8673, allocations: 101.6 kB / 1.276 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8673, allocations: 0 / 1.276 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.8673, allocations: 4 kB / 1.276 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.8673, allocations: 0 / 1.276 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.8677, allocations: 103.8 kB / 1.276 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.8682, allocations: 344.6 kB / 1.276 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.8688, allocations: 118.5 kB / 1.276 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.869, allocations: 60.8 kB / 1.276 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.869, allocations: 0 / 1.276 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.869, allocations: 30.56 kB / 1.276 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.869, allocations: 3.938 kB / 1.276 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006881/0.8697, allocations: 189.5 kB / 1.276 GB, free: 408 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.8698, allocations: 51.41 kB / 1.276 GB, free: 344 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.8699, allocations: 129.7 kB / 1.277 GB, free: 204 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.8699, allocations: 29.7 kB / 1.277 GB, free: 168 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.87, allocations: 104 kB / 1.277 GB, free: 60 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.87, allocations: 19.86 kB / 1.277 GB, free: 40 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.87, allocations: 21.7 kB / 1.277 GB, free: 12 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8702, allocations: 318.8 kB / 1.277 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.8704, allocations: 43.95 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.8706, allocations: 43.95 kB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.8709, allocations: 100.8 kB / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8709, allocations: 0 / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004284/0.8713, allocations: 137.5 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.8713, allocations: 4 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.8713, allocations: 4 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.8714, allocations: 4 kB / 1.277 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.8715, allocations: 31.91 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8715, allocations: 3.938 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.8717, allocations: 15.92 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.8717, allocations: 0 / 1.277 GB, free: 15.3 MB / 0.9825 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 9.528e-05/0.8718, allocations: 113.8 kB / 1.278 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.8718, allocations: 15.94 kB / 1.278 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.8718, allocations: 12.31 kB / 1.278 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.8718, allocations: 0 / 1.278 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8718, allocations: 3.938 kB / 1.278 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8719, allocations: 4 kB / 1.278 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.8721, allocations: 193.6 kB / 1.278 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8721, allocations: 0 / 1.278 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.8722, allocations: 27.91 kB / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8722, allocations: 0 / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.8723, allocations: 8 kB / 1.278 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8723, allocations: 8 kB / 1.278 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8723, allocations: 3.938 kB / 1.278 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.8727, allocations: 231.3 kB / 1.278 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.8728, allocations: 85.05 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.8728, allocations: 8 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.873, allocations: 15.97 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.8731, allocations: 27.91 kB / 1.278 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.8731, allocations: 4 kB / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.8731, allocations: 91.27 kB / 1.278 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8731, allocations: 0 / 1.278 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002255/0.8734, allocations: 16 kB / 1.278 GB, free: 14.35 MB / 0.9825 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.0008986/0.8742, allocations: 0.7798 MB / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.8747, allocations: 99.91 kB / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8747, allocations: 0 / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.8749, allocations: 64.11 kB / 1.279 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.8753, allocations: 8.094 kB / 1.279 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.8777, allocations: 1.565 MB / 1.281 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.8781, allocations: 0.6885 MB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.526e-05/0.8782, allocations: 12 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.8782, allocations: 27.42 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.8782, allocations: 0 / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.9037, allocations: 2.72 MB / 1.284 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/9.047, allocations: 0 / 1.284 GB, free: 8.359 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.131308314856142]