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.001126/0.001126, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002747, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009064/0.0009064, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002138, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9591/0.9591, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09153/1.051, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.88/1.88, allocations: 378.4 MB / 0.6079 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5345/2.415, allocations: 123.3 MB / 0.7283 GB, free: 5.773 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.78e-05, allocations: 3.719 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001344/0.001362, allocations: 0.7599 MB / 0.7305 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.002353, allocations: 0.8572 MB / 0.7313 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.002398, allocations: 0 / 0.7313 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.002426, allocations: 7.938 kB / 0.7313 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.002472, allocations: 7.625 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.32e-05/0.002525, allocations: 12.98 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.00261, allocations: 43.53 kB / 0.7314 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.002697, allocations: 17.41 kB / 0.7314 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.002792, allocations: 22.17 kB / 0.7314 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.002841, allocations: 26.06 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.002865, allocations: 4.875 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-06/0.002872, allocations: 1.312 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.002892, allocations: 10.52 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.002913, allocations: 4.547 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.815e-05/0.003001, allocations: 26.88 kB / 0.7315 GB, free: 2.637 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.003014, allocations: 2.938 kB / 0.7315 GB, free: 2.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003015, allocations: 0 / 0.7315 GB, free: 2.637 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.003032, allocations: 4 kB / 0.7315 GB, free: 2.633 MB / 0.698 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.0004103/0.003442, allocations: 252.6 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.003476, allocations: 9.016 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.003505, allocations: 4.938 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.003602, allocations: 117.7 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003611, allocations: 0.875 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.003622, allocations: 9.031 kB / 0.7319 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.003756, allocations: 64.31 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003764, allocations: 192 / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003771, allocations: 384 / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.00378, allocations: 4.375 kB / 0.7319 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.003803, allocations: 13.45 kB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.004038, allocations: 157.9 kB / 0.7321 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.977e-05/0.004098, allocations: 26.61 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.004118, allocations: 12.84 kB / 0.7321 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.004126, allocations: 0.875 kB / 0.7321 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.004148, allocations: 34.62 kB / 0.7322 GB, free: 1.852 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004149, allocations: 0 / 0.7322 GB, free: 1.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001153/0.004265, allocations: 46.12 kB / 0.7322 GB, free: 1.801 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.004296, allocations: 60.94 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.976e-05/0.004356, allocations: 111.7 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.004366, allocations: 25.7 kB / 0.7324 GB, free: 1.578 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.0044, allocations: 88.09 kB / 0.7325 GB, free: 1.488 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.004419, allocations: 8.781 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.004445, allocations: 21.7 kB / 0.7325 GB, free: 1.453 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.004526, allocations: 310.8 kB / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.004539, allocations: 5.25 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.004548, allocations: 0 / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.004572, allocations: 22.2 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004574, allocations: 1.75 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.684e-05/0.004621, allocations: 45.61 kB / 0.7329 GB, free: 1.062 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.004632, allocations: 4 kB / 0.7329 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.004638, allocations: 4 kB / 0.7329 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.00466, allocations: 5.156 kB / 0.7329 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.004738, allocations: 11.98 kB / 0.7329 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.004741, allocations: 0 / 0.7329 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.004763, allocations: 4.656 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.004767, allocations: 0 / 0.7329 GB, free: 1.035 MB / 0.698 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.658e-05/0.004824, allocations: 115.6 kB / 0.733 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.004837, allocations: 3.984 kB / 0.733 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.004858, allocations: 4.75 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.004862, allocations: 7.938 kB / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.004864, allocations: 0.7812 kB / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.004867, allocations: 0 / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.519e-05/0.004953, allocations: 74.45 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.004954, allocations: 0 / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.004979, allocations: 8.906 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.005166, allocations: 11.94 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.005168, allocations: 0.75 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.005174, allocations: 4 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.005175, allocations: 1.312 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.005177, allocations: 3.938 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.947e-05/0.005257, allocations: 139.5 kB / 0.7333 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.005266, allocations: 0 / 0.7333 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.005302, allocations: 13.7 kB / 0.7333 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.005335, allocations: 4 kB / 0.7333 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.005339, allocations: 3.938 kB / 0.7333 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.644e-05/0.005356, allocations: 16.84 kB / 0.7333 GB, free: 0.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005356, allocations: 1.344 kB / 0.7333 GB, free: 0.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000112/0.005468, allocations: 7.938 kB / 0.7333 GB, free: 0.5742 MB / 0.698 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 7.295e-05/0.005541, allocations: 77.67 kB / 0.7334 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.005613, allocations: 16.84 kB / 0.7334 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.005619, allocations: 4 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.005643, allocations: 14.05 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.005813, allocations: 67.39 kB / 0.7335 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.00617, allocations: 133.6 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.006203, allocations: 59.81 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.006222, allocations: 5.281 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.006276, allocations: 51.38 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of SimCode: time 1.001e-06/0.006277, allocations: 0.6562 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of Templates: time 0.00245/0.008726, allocations: 0.6983 MB / 0.7344 GB, free: 15.43 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.002899073064327]