Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001534/0.001534, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001823/0.001823, allocations: 217.3 kB / 22.25 MB, free: 5.082 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.033/3.033, allocations: 476.7 MB / 0.7706 GB, free: 4.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002165/0.002165, allocations: 65.09 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4197, allocations: 170 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002367/0.4221, allocations: 0.7003 MB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.4232, allocations: 0.8316 MB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.4232, allocations: 8 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.4233, allocations: 3.938 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.4234, allocations: 7.922 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.242e-05/0.4234, allocations: 11.98 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.477e-05/0.4235, allocations: 51.78 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4236, allocations: 7.984 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.4237, allocations: 15.94 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.4238, allocations: 23.91 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4238, allocations: 4 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.4238, allocations: 4 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.4238, allocations: 8 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.4238, allocations: 23.86 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.424, allocations: 43.8 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.424, allocations: 0 / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.424, allocations: 0 / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.424, allocations: 0 / 1.286 GB, free: 9.477 MB / 0.9825 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.0006584/0.4246, allocations: 282.3 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4247, allocations: 8.031 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.4247, allocations: 8.891 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4249, allocations: 126.4 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4249, allocations: 4.375 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.4249, allocations: 384 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.4252, allocations: 70.2 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4252, allocations: 4.188 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.4252, allocations: 7.938 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4252, allocations: 3.938 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.4255, allocations: 67.92 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.4259, allocations: 236 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4261, allocations: 54.48 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.4263, allocations: 48.91 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.4263, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.4264, allocations: 30.56 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.4264, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005223/0.4269, allocations: 141.4 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.4269, allocations: 51.41 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.427, allocations: 109.8 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.427, allocations: 25.7 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.4271, allocations: 84.14 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.4271, allocations: 7.953 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.4272, allocations: 17.72 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4273, allocations: 318.8 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.4275, allocations: 27.97 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4276, allocations: 31.95 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.4278, allocations: 68.8 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4278, allocations: 3.938 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003197/0.4282, allocations: 105.5 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4282, allocations: 6.812 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4282, allocations: 0 / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4282, allocations: 4 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4283, allocations: 15.98 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4283, allocations: 320 / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.4284, allocations: 15.98 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4284, allocations: 0 / 1.287 GB, free: 7.344 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: 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 0.0001056/0.4285, allocations: 120.2 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.4285, allocations: 0 / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.4286, allocations: 8 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.4286, allocations: 8 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4286, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4286, allocations: 336 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.4288, allocations: 144.6 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4288, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.4289, allocations: 15.97 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4289, allocations: 4 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4289, allocations: 3.984 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4289, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.4289, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.4292, allocations: 199.4 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.4293, allocations: 11.88 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4293, allocations: 3.984 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4294, allocations: 15.92 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.4294, allocations: 8 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.4294, allocations: 0 / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.4295, allocations: 95.25 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4295, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002102/0.4297, allocations: 7.953 kB / 1.288 GB, free: 6.641 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: 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.0001546/0.4298, allocations: 99.25 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.4302, allocations: 71.86 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4302, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.4303, allocations: 35.95 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.4306, allocations: 7.938 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.431, allocations: 125.6 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4314, allocations: 0.6846 MB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.4314, allocations: 0 / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.4314, allocations: 11.44 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4314, allocations: 0 / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.003294/0.4347, allocations: 0.6804 MB / 1.29 GB, free: 4.879 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.852938723750412]