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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 192.1 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.985/2.985, allocations: 495.8 MB / 0.7831 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.137 GB, free: 12.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.097, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003028/1.1, allocations: 2.092 MB / 1.309 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002067/1.102, allocations: 1.618 MB / 1.31 GB, free: 31.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/1.102, allocations: 12.72 kB / 1.31 GB, free: 31.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002499/1.102, allocations: 85.72 kB / 1.311 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/1.102, allocations: 85.75 kB / 1.311 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/1.103, allocations: 342.3 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005333/1.104, allocations: 0.6767 MB / 1.312 GB, free: 30.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/1.104, allocations: 238.7 kB / 1.312 GB, free: 30.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/1.104, allocations: 266.2 kB / 1.312 GB, free: 30.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/1.105, allocations: 280.2 kB / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/1.105, allocations: 75.62 kB / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/1.105, allocations: 94.88 kB / 1.312 GB, free: 29.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/1.105, allocations: 145.5 kB / 1.313 GB, free: 29.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/1.105, allocations: 302.4 kB / 1.313 GB, free: 29.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007383/1.106, allocations: 0.8336 MB / 1.314 GB, free: 29.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.106, allocations: 0 / 1.314 GB, free: 29.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.984e-06/1.106, allocations: 2.75 kB / 1.314 GB, free: 29.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.157e-05/1.106, allocations: 0 / 1.314 GB, free: 29.27 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001568/1.107, allocations: 1.03 MB / 1.315 GB, free: 28.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.107, allocations: 11.38 kB / 1.315 GB, free: 28.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/1.108, allocations: 70.8 kB / 1.315 GB, free: 28.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/1.108, allocations: 351.5 kB / 1.315 GB, free: 28.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/1.108, allocations: 41.09 kB / 1.315 GB, free: 28.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/1.108, allocations: 65.56 kB / 1.315 GB, free: 28.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/1.109, allocations: 0.489 MB / 1.316 GB, free: 28.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/1.109, allocations: 192 / 1.316 GB, free: 28.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/1.109, allocations: 28.8 kB / 1.316 GB, free: 28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.109, allocations: 11.66 kB / 1.316 GB, free: 28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/1.11, allocations: 349.6 kB / 1.316 GB, free: 27.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/1.112, allocations: 1.499 MB / 1.318 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/1.112, allocations: 398.2 kB / 1.318 GB, free: 26.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/1.113, allocations: 217.8 kB / 1.318 GB, free: 26.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/1.113, allocations: 5.25 kB / 1.318 GB, free: 26.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/1.113, allocations: 245 kB / 1.318 GB, free: 26.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 1.913e-06/1.113, allocations: 0 / 1.318 GB, free: 26.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=47): time 0.0009687/1.114, allocations: 0.5285 MB / 1.319 GB, free: 26.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.114, allocations: 112.5 kB / 1.319 GB, free: 26.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/1.114, allocations: 382.9 kB / 1.319 GB, free: 26.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/1.114, allocations: 38.64 kB / 1.319 GB, free: 26.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.115, allocations: 258.1 kB / 1.32 GB, free: 25.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-05/1.115, allocations: 168.2 kB / 1.32 GB, free: 25.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.115, allocations: 97.56 kB / 1.32 GB, free: 25.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/1.115, allocations: 359.8 kB / 1.32 GB, free: 25.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/1.115, allocations: 187.3 kB / 1.32 GB, free: 25.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/1.116, allocations: 275.2 kB / 1.321 GB, free: 25.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/1.116, allocations: 443.5 kB / 1.321 GB, free: 24.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.116, allocations: 2.562 kB / 1.321 GB, free: 24.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009636/1.117, allocations: 0.5685 MB / 1.322 GB, free: 24.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/1.117, allocations: 45.58 kB / 1.322 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.117, allocations: 2.906 kB / 1.322 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.117, allocations: 2.734 kB / 1.322 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/1.118, allocations: 98.84 kB / 1.322 GB, free: 24.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.118, allocations: 9.375 kB / 1.322 GB, free: 24.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/1.118, allocations: 87.05 kB / 1.322 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.118, allocations: 27.62 kB / 1.322 GB, free: 24.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003838/1.119, allocations: 282 kB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003157/1.119, allocations: 254.4 kB / 1.322 GB, free: 24.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004635/1.119, allocations: 385.9 kB / 1.323 GB, free: 23.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.534e-06/1.119, allocations: 6.625 kB / 1.323 GB, free: 23.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0007844/1.12, allocations: 0.5186 MB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.12, allocations: 37.8 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.12, allocations: 6.469 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/1.12, allocations: 5.188 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/1.121, allocations: 87.67 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/1.121, allocations: 7.125 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/1.121, allocations: 74.48 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/1.121, allocations: 24.56 kB / 1.324 GB, free: 23.51 MB / 1.061 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.000146/1.121, allocations: 213 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/1.121, allocations: 49.19 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007413/1.122, allocations: 435 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.122, allocations: 2.688 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.122, allocations: 2.688 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/1.122, allocations: 2.953 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/1.123, allocations: 1.104 MB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.123, allocations: 2.906 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/1.124, allocations: 85.19 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/1.124, allocations: 9.062 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.124, allocations: 6.688 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/1.124, allocations: 9.219 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.124, allocations: 6.531 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.125, allocations: 0.7227 MB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/1.125, allocations: 58.25 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/1.125, allocations: 8.406 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/1.125, allocations: 30.06 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/1.125, allocations: 32.25 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/1.125, allocations: 19.44 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003753/1.126, allocations: 269.2 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.126, allocations: 0 / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007502/1.126, allocations: 199.6 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002162/1.127, allocations: 124 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001481/1.128, allocations: 0.719 MB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.128, allocations: 1.031 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/1.128, allocations: 186.5 kB / 1.328 GB, free: 21.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/1.129, allocations: 102.7 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/1.131, allocations: 0.9573 MB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.131, allocations: 0.8459 MB / 1.33 GB, free: 19.88 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002172/1.131, allocations: 59.47 kB / 1.33 GB, free: 19.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.131, allocations: 37 kB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/1.131, allocations: 0 / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of Templates: time 0.01549/1.147, allocations: 6.31 MB / 1.336 GB, free: 19.4 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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: 10.255405428819358]