Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001388/0.001388, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001474/0.001474, allocations: 222.2 kB / 23 MB, free: 4.914 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.273/3.273, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002181/0.002181, allocations: 63.16 kB / 1.187 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3444, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002303/0.3467, allocations: 0.6983 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.348, allocations: 0.828 MB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.348, allocations: 3.938 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.3481, allocations: 3.938 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.3482, allocations: 3.938 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.159e-05/0.3482, allocations: 15.98 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3483, allocations: 39.91 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3485, allocations: 12 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.3485, allocations: 19.92 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.3486, allocations: 15.92 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3486, allocations: 4 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.3486, allocations: 4 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.3487, allocations: 7.984 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.3487, allocations: 19.92 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.3488, allocations: 55.67 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3488, allocations: 3.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3488, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3488, allocations: 0 / 1.366 GB, free: 11.82 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.0005613/0.3494, allocations: 286.2 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3494, allocations: 12.03 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.3495, allocations: 4.891 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.3497, allocations: 110.5 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3497, allocations: 4.375 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3497, allocations: 4.375 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.3499, allocations: 70.2 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3499, allocations: 7.938 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.35, allocations: 0 / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.35, allocations: 4 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.3503, allocations: 67.84 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.3506, allocations: 208.6 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3508, allocations: 54.48 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.351, allocations: 44.91 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.351, allocations: 4 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3511, allocations: 34.5 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.3511, allocations: 0 / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005432/0.3516, allocations: 129.6 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3517, allocations: 51.41 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3518, allocations: 109.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3518, allocations: 25.7 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3519, allocations: 88.12 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3519, allocations: 15.91 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3519, allocations: 13.7 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3521, allocations: 318.8 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3523, allocations: 27.97 kB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3524, allocations: 39.89 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.3527, allocations: 68.72 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3527, allocations: 0 / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003311/0.353, allocations: 105.6 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.353, allocations: 5.875 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.353, allocations: 8 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.353, allocations: 0 / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3532, allocations: 11.98 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3532, allocations: 0 / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.3533, allocations: 15.94 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3533, allocations: 7.984 kB / 1.368 GB, free: 9.727 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 8.832e-05/0.3534, allocations: 113.8 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.3534, allocations: 7.938 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.3534, allocations: 11.94 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3534, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3534, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3534, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.3536, allocations: 113.2 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3536, allocations: 3.938 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3537, allocations: 23.97 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3537, allocations: 4 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3537, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3537, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3537, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.3541, allocations: 187.8 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.3541, allocations: 11.97 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3541, allocations: 0 / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3542, allocations: 23.97 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3543, allocations: 0 / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3543, allocations: 7.938 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.3543, allocations: 91.56 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3543, allocations: 0 / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002211/0.3546, allocations: 8 kB / 1.369 GB, free: 9.062 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.0001438/0.3547, allocations: 91.25 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.3551, allocations: 71.92 kB / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3551, allocations: 0 / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.3552, allocations: 39.89 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3555, allocations: 11.94 kB / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.3559, allocations: 139.3 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.283e-05/0.356, allocations: 67.34 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.356, allocations: 11.44 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.356, allocations: 0 / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of Templates: time 0.002334/0.3584, allocations: 0.7591 MB / 1.37 GB, free: 7.824 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.061040129046887]