Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001551/0.001551, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001671/0.001671, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.951/2.951, allocations: 0.49 GB / 0.7923 GB, free: 1.469 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.002012/0.002012, allocations: 67.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9327/0.9347, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001918/0.9366, allocations: 0.7079 MB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009257/0.9375, allocations: 0.8353 MB / 1.324 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.9376, allocations: 2.906 kB / 1.324 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.9376, allocations: 0 / 1.324 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.9377, allocations: 11.81 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.338e-05/0.9377, allocations: 16.78 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.9378, allocations: 39.02 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.938, allocations: 6.281 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.834e-05/0.938, allocations: 25.72 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.9381, allocations: 18.33 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.9381, allocations: 9.469 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.9381, allocations: 2.844 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.9381, allocations: 7.094 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.9381, allocations: 20.94 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.9382, allocations: 42.09 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9382, allocations: 0 / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9382, allocations: 0 / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.9382, allocations: 0 / 1.324 GB, free: 23.87 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004878/0.9387, allocations: 373.6 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.9388, allocations: 13.05 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.9388, allocations: 0.9375 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.908e-05/0.9389, allocations: 174.6 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.9389, allocations: 3.188 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.9389, allocations: 384 / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.9392, allocations: 68.47 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9392, allocations: 7.125 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9392, allocations: 3.938 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.9392, allocations: 4 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.9395, allocations: 64.53 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.9398, allocations: 266.3 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.94, allocations: 64.12 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.9401, allocations: 39.59 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.9401, allocations: 0 / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.9402, allocations: 34.5 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.9402, allocations: 0 / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005307/0.9407, allocations: 138.8 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.9407, allocations: 51.41 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.9408, allocations: 105.8 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.9408, allocations: 32.77 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.9408, allocations: 80.14 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.9408, allocations: 25.89 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.9409, allocations: 12.44 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.9409, allocations: 314.8 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.9411, allocations: 33.27 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.9412, allocations: 31.8 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.9415, allocations: 76.77 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9415, allocations: 7 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003001/0.9418, allocations: 91.92 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.9418, allocations: 5.906 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9418, allocations: 4 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9418, allocations: 0 / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.9419, allocations: 18.03 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9419, allocations: 0 / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.942, allocations: 9.234 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.942, allocations: 3.031 kB / 1.326 GB, free: 22.08 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: 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 5.135e-05/0.9421, allocations: 113.8 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.9421, allocations: 7.109 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.9421, allocations: 11.33 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.9421, allocations: 2.656 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.9421, allocations: 3.938 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.9421, allocations: 0 / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.9422, allocations: 172.2 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9422, allocations: 0 / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/0.9423, allocations: 12 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9423, allocations: 2.781 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.9423, allocations: 0 / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9423, allocations: 4 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9423, allocations: 7.266 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.9426, allocations: 191.6 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.9427, allocations: 88 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.9427, allocations: 3.047 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.9428, allocations: 13.05 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.9428, allocations: 9.781 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.9428, allocations: 4 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.9428, allocations: 84.34 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9428, allocations: 3.938 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002099/0.9431, allocations: 12.25 kB / 1.326 GB, free: 21.39 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: 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.0001236/0.9432, allocations: 96.38 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.9435, allocations: 70.02 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9435, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.9437, allocations: 33.36 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.944, allocations: 12.22 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.9443, allocations: 157.2 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.9444, allocations: 0.6807 MB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.9444, allocations: 7.438 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9444, allocations: 0 / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of Templates: time 0.00201/0.9464, allocations: 0.7583 MB / 1.328 GB, free: 20.37 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.262221204000525]