Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009204/0.009204, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 195.9 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 0.9509 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.146, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.004002/1.15, allocations: 2.071 MB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002911/1.153, allocations: 1.605 MB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/1.153, allocations: 11.41 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002878/1.154, allocations: 85.09 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/1.154, allocations: 80.08 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009812/1.155, allocations: 324.6 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008497/1.156, allocations: 0.6991 MB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/1.156, allocations: 322.9 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/1.157, allocations: 261 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/1.157, allocations: 288.1 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/1.157, allocations: 80.06 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/1.158, allocations: 86.47 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/1.158, allocations: 144.9 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/1.158, allocations: 297.4 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/1.159, allocations: 0.8253 MB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.159, allocations: 0 / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.159, allocations: 4.688 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.101e-05/1.159, allocations: 0 / 1.095 GB, free: 1.02 MB / 0.8575 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.001765/1.161, allocations: 0.9042 MB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/1.161, allocations: 9.844 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/1.161, allocations: 70.72 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/1.162, allocations: 411.6 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/1.162, allocations: 40.53 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.162, allocations: 59.39 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/1.163, allocations: 496 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/1.163, allocations: 4.188 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.311e-05/1.163, allocations: 26.17 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/1.163, allocations: 12.5 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/1.164, allocations: 348.5 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/1.167, allocations: 1.55 MB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/1.168, allocations: 0.8672 MB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/1.169, allocations: 236.8 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/1.169, allocations: 5.109 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005241/1.169, allocations: 245.3 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.876e-06/1.169, allocations: 0 / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47): time 0.001224/1.171, allocations: 0.5302 MB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.171, allocations: 109.2 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/1.171, allocations: 388.1 kB / 1.101 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/1.171, allocations: 38.48 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/1.172, allocations: 251.3 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/1.172, allocations: 157 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/1.172, allocations: 104.8 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.172, allocations: 352.1 kB / 1.102 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/1.173, allocations: 184.3 kB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/1.173, allocations: 288.8 kB / 1.102 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/1.174, allocations: 423.5 kB / 1.103 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.174, allocations: 0.5312 kB / 1.103 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001409/1.175, allocations: 0.5702 MB / 1.103 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/1.176, allocations: 44.03 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.176, allocations: 1.344 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.176, allocations: 4.312 kB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/1.176, allocations: 103.1 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.176, allocations: 4.766 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/1.177, allocations: 85.94 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/1.177, allocations: 20.83 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005248/1.177, allocations: 279.8 kB / 1.104 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005184/1.178, allocations: 270.9 kB / 1.104 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006224/1.178, allocations: 391.2 kB / 1.104 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/1.178, allocations: 3.938 kB / 1.104 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009357/1.179, allocations: 0.5193 MB / 1.105 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/1.179, allocations: 43.66 kB / 1.105 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.179, allocations: 5.281 kB / 1.105 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/1.179, allocations: 5.016 kB / 1.105 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/1.18, allocations: 87.84 kB / 1.105 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.18, allocations: 5.891 kB / 1.105 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/1.18, allocations: 72.42 kB / 1.105 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/1.18, allocations: 20.78 kB / 1.105 GB, free: 10.62 MB / 0.8731 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.0002052/1.18, allocations: 212.5 kB / 1.105 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/1.18, allocations: 53.42 kB / 1.105 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008857/1.181, allocations: 427 kB / 1.106 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.181, allocations: 5.531 kB / 1.106 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.181, allocations: 5.078 kB / 1.106 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.181, allocations: 1.688 kB / 1.106 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.183, allocations: 1.13 MB / 1.107 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.183, allocations: 6.688 kB / 1.107 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/1.184, allocations: 79.98 kB / 1.107 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/1.184, allocations: 5.219 kB / 1.107 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/1.184, allocations: 9.828 kB / 1.107 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/1.184, allocations: 3.281 kB / 1.107 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.184, allocations: 6.875 kB / 1.107 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/1.185, allocations: 0.7267 MB / 1.108 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/1.185, allocations: 134.6 kB / 1.108 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/1.185, allocations: 8.781 kB / 1.108 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/1.185, allocations: 25.44 kB / 1.108 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/1.185, allocations: 32.36 kB / 1.108 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/1.185, allocations: 17.66 kB / 1.108 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003475/1.186, allocations: 278.7 kB / 1.108 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.186, allocations: 0 / 1.108 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007265/1.187, allocations: 194.3 kB / 1.108 GB, free: 8.73 MB / 0.8731 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.000247/1.187, allocations: 123 kB / 1.109 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001562/1.188, allocations: 0.7878 MB / 1.109 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.188, allocations: 0 / 1.109 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/1.189, allocations: 195.3 kB / 1.11 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/1.189, allocations: 102.2 kB / 1.11 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/1.191, allocations: 0.9197 MB / 1.111 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/1.192, allocations: 0.8486 MB / 1.111 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002582/1.192, allocations: 55.44 kB / 1.111 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/1.192, allocations: 42.98 kB / 1.111 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.192, allocations: 3.938 kB / 1.111 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of Templates: time 0.01438/1.207, allocations: 6.059 MB / 1.117 GB, free: 6.422 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches