Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.001751/0.001751, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.002079/0.002079, allocations: 212.5 kB / 23 MB, free: 4.934 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.46/3.46, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") [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: 68.3 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4096, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003713/0.4133, allocations: 1.818 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.4164, allocations: 1.626 MB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.4166, allocations: 8 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.4169, allocations: 90.94 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.4172, allocations: 87.25 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.4181, allocations: 322.1 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007729/0.4189, allocations: 0.6842 MB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.4194, allocations: 233.8 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.4198, allocations: 275 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.4201, allocations: 278.6 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.4202, allocations: 80 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.4203, allocations: 91.98 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4205, allocations: 143.5 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.4207, allocations: 242.8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009211/0.4216, allocations: 0.8365 MB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4216, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4216, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4217, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001991/0.4236, allocations: 1.037 MB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4237, allocations: 8.031 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.4238, allocations: 76.5 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.4245, allocations: 351 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.4246, allocations: 45.38 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.4247, allocations: 56.36 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009252/0.4256, allocations: 0.5458 MB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.4256, allocations: 192 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/0.4257, allocations: 23.94 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.4257, allocations: 12 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007652/0.4265, allocations: 343.8 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.4289, allocations: 1.271 MB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.4298, allocations: 396.6 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.4302, allocations: 217.9 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.4302, allocations: 11.94 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004849/0.4307, allocations: 244.8 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 3.266e-06/0.4307, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=47): time 0.001168/0.4318, allocations: 0.5183 MB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.4319, allocations: 115.2 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.4325, allocations: 345.7 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.4325, allocations: 37.7 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.4328, allocations: 265.2 kB / 1.339 GB, free: 4.043 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.433, allocations: 170.5 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.4332, allocations: 106.1 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002442/0.4334, allocations: 346.8 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.434, allocations: 228.4 kB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.4346, allocations: 420.1 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.4354, allocations: 431.4 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4354, allocations: 0 / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001225/0.4366, allocations: 0.5928 MB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.4367, allocations: 47.5 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4367, allocations: 8.219 kB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.4367, allocations: 7.938 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.4372, allocations: 91.89 kB / 1.342 GB, free: 1.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4372, allocations: 4 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.4376, allocations: 71.72 kB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.4377, allocations: 23.98 kB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006496/0.4383, allocations: 310.8 kB / 1.342 GB, free: 1.078 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006594/0.439, allocations: 400.1 kB / 1.343 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007285/0.4397, allocations: 383.4 kB / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.4397, allocations: 4 kB / 1.343 GB, free: 216 kB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001014/0.4407, allocations: 0.5499 MB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.4408, allocations: 37.7 kB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.4408, allocations: 0 / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-06/0.4408, allocations: 4 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.4411, allocations: 95.77 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4411, allocations: 4 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.4415, allocations: 75.91 kB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.4416, allocations: 23.98 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0002404/0.4418, allocations: 212.7 kB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.4419, allocations: 35.77 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/0.4428, allocations: 437 kB / 1.344 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4428, allocations: 4 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4428, allocations: 0 / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.4428, allocations: 43.69 kB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.4429, allocations: 16 kB / 1.344 GB, free: 14.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4431, allocations: 27.91 kB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.4431, allocations: 28.33 kB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001137/0.4443, allocations: 0.5074 MB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001268/0.4456, allocations: 0.7789 MB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004031/0.446, allocations: 179.4 kB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003224/0.4463, allocations: 239.2 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of Backend: time 6.92e-07/0.4463, allocations: 0 / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.4483, allocations: 0.7375 MB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of SimCode: time 0.002466/0.4507, allocations: 1.302 MB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of Templates: time 0.01822/0.469, allocations: 8.657 MB / 1.357 GB, free: 2.207 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.823806930995488]