Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 113.5 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.893/2.893, allocations: 0.49 GB / 0.7923 GB, free: 1.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 75.88 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9214, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001645/0.923, allocations: 0.7801 MB / 1.323 GB, free: 24.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.9238, allocations: 0.9 MB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.9238, allocations: 0 / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.9239, allocations: 10.81 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.9239, allocations: 3.938 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.9241, allocations: 45.09 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.551e-05/0.9242, allocations: 90.25 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.9243, allocations: 23.59 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.9243, allocations: 30.77 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.9244, allocations: 50.86 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.9244, allocations: 9.812 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.9245, allocations: 7.406 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.9245, allocations: 21.72 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.9245, allocations: 32.95 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.9246, allocations: 92.38 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9246, allocations: 0 / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9246, allocations: 0 / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.9246, allocations: 4 kB / 1.324 GB, free: 23.67 MB / 1.061 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.0005347/0.9252, allocations: 398.1 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.9252, allocations: 15.36 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.9253, allocations: 7.703 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.9254, allocations: 177.8 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.9254, allocations: 7.312 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.9254, allocations: 3.281 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.9257, allocations: 111.4 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9257, allocations: 0 / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.9257, allocations: 4 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.9257, allocations: 2.969 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.9261, allocations: 106.3 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.9265, allocations: 339.7 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.9272, allocations: 118.4 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.9274, allocations: 62.67 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.9274, allocations: 4 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.9274, allocations: 33.59 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.9274, allocations: 0 / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006711/0.9281, allocations: 177.1 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.9281, allocations: 61.94 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.9282, allocations: 127 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.9282, allocations: 25.7 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.9282, allocations: 97.62 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.9283, allocations: 21.78 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.9283, allocations: 26.78 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.9283, allocations: 318.2 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.9285, allocations: 47 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.9287, allocations: 50.28 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.929, allocations: 101.1 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9291, allocations: 0 / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003985/0.9294, allocations: 128.5 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.9295, allocations: 13.16 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.9295, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.9295, allocations: 3.422 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.9297, allocations: 26.59 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9297, allocations: 0 / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.9298, allocations: 30.94 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.9298, allocations: 2.781 kB / 1.327 GB, free: 21.7 MB / 1.061 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 6.726e-05/0.9299, allocations: 112.7 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.9299, allocations: 3.031 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.9299, allocations: 14.56 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.9299, allocations: 0 / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9299, allocations: 0 / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9299, allocations: 3.938 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.9301, allocations: 201.6 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9301, allocations: 4 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.9303, allocations: 31 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.9303, allocations: 0 / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.9303, allocations: 3.938 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9303, allocations: 2.5 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9303, allocations: 0 / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.9307, allocations: 232.9 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.9307, allocations: 79.98 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.9308, allocations: 9.719 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.9309, allocations: 12.78 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.931, allocations: 26.8 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.931, allocations: 2.844 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.931, allocations: 94.75 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.931, allocations: 0 / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002376/0.9313, allocations: 21.14 kB / 1.327 GB, free: 20.98 MB / 1.061 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 9.071e-05/0.9314, allocations: 104.4 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.9318, allocations: 94.66 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9318, allocations: 4 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.932, allocations: 57.22 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.9323, allocations: 23.41 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.9328, allocations: 200.6 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.9329, allocations: 0.6883 MB / 1.328 GB, free: 19.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.9329, allocations: 21 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.9329, allocations: 0 / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of Templates: time 0.003289/0.9362, allocations: 1.236 MB / 1.33 GB, free: 19.87 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.235806751006749]