Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.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.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.k|PIDWitInpGai.k|PID.Ti|PIDWitInpGai.Ti|PID.Td|PIDWitInpGai.Td|PID.y|PIDWitInpGai.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.k|PIDWitInpGai.k|PID.Ti|PIDWitInpGai.Ti|PID.Td|PIDWitInpGai.Td|PID.y|PIDWitInpGai.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 119 kB / 16.42 MB, free: 6.473 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.001916/0.001916, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.435/1.435, allocations: 222.9 MB / 241.1 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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9053/0.907, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.004063/0.9111, allocations: 2.784 MB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.9143, allocations: 2.11 MB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.9148, allocations: 20.34 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.9152, allocations: 121.8 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.9155, allocations: 140.4 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.9175, allocations: 0.7656 MB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.9191, allocations: 1.304 MB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.92, allocations: 0.4903 MB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.9208, allocations: 482.4 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.9215, allocations: 486.3 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.9218, allocations: 134.9 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.9221, allocations: 154 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.9224, allocations: 211.9 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.9229, allocations: 0.4884 MB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.925, allocations: 1.405 MB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.925, allocations: 0 / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.154e-06/0.925, allocations: 0 / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.925, allocations: 1.094 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002668/0.9277, allocations: 1.33 MB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.9277, allocations: 9.156 kB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.928, allocations: 110.9 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.9289, allocations: 0.5587 MB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/0.929, allocations: 65.81 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.9292, allocations: 92.34 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.9306, allocations: 0.6671 MB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.9306, allocations: 1 kB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.9307, allocations: 32 kB / 1.102 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.9307, allocations: 16.41 kB / 1.102 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.9318, allocations: 474 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.9361, allocations: 2.196 MB / 1.105 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.9373, allocations: 0.537 MB / 1.105 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.9378, allocations: 281.6 kB / 1.106 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.9379, allocations: 15.66 kB / 1.106 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007339/0.9386, allocations: 365.4 kB / 1.106 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=68): time 5.28e-06/0.9386, allocations: 0 / 1.106 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68): time 0.001604/0.9402, allocations: 0.752 MB / 1.107 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.9403, allocations: 112.4 kB / 1.107 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/0.9411, allocations: 0.5399 MB / 1.107 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.9412, allocations: 56.8 kB / 1.107 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.9415, allocations: 338.2 kB / 1.108 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.9417, allocations: 211.7 kB / 1.108 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.9421, allocations: 183.1 kB / 1.108 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.9423, allocations: 376.2 kB / 1.108 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007694/0.943, allocations: 348.5 kB / 1.109 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/0.9439, allocations: 482.7 kB / 1.109 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.9451, allocations: 0.7433 MB / 1.11 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9451, allocations: 0 / 1.11 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002115/0.9472, allocations: 1.092 MB / 1.111 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.9473, allocations: 166.1 kB / 1.111 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.9474, allocations: 3.562 kB / 1.111 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.9474, allocations: 8.875 kB / 1.111 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.9479, allocations: 114 kB / 1.111 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.9479, allocations: 7.141 kB / 1.111 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.949, allocations: 208.1 kB / 1.112 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.9491, allocations: 44.42 kB / 1.112 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.9502, allocations: 472.5 kB / 1.112 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007104/0.9509, allocations: 454.2 kB / 1.112 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009735/0.9519, allocations: 0.6991 MB / 1.113 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.9519, allocations: 5.562 kB / 1.113 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001865/0.9538, allocations: 1.044 MB / 1.114 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.9539, allocations: 172.6 kB / 1.114 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9539, allocations: 2.719 kB / 1.114 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.9539, allocations: 6.656 kB / 1.114 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.9543, allocations: 94.61 kB / 1.114 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.9543, allocations: 15.22 kB / 1.114 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.9554, allocations: 199.2 kB / 1.115 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.9555, allocations: 50.31 kB / 1.115 GB, free: 6.156 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (resSig.y,$PRE.resSig.y,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or2.y,greThr.y,lesThr.lesHys.y,$PRE.lesThr.lesHys.y,Td.booPul.y,$PRE.Td.booPul.y,Ti.booPul.y,$PRE.Ti.booPul.y,k.booPul.y,$PRE.k.booPul.y,PIDWitInpGai.greThrkTd.greHys.y,$PRE.PIDWitInpGai.greThrkTd.greHys.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 5 * 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.0003282/0.9558, allocations: 236.2 kB / 1.115 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.9559, allocations: 63.41 kB / 1.115 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.9572, allocations: 0.5941 MB / 1.116 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.9572, allocations: 12.95 kB / 1.116 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9572, allocations: 0 / 1.116 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.9574, allocations: 155.2 kB / 1.116 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.9575, allocations: 14.19 kB / 1.116 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.9578, allocations: 37.09 kB / 1.116 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.9579, allocations: 61.56 kB / 1.116 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001427/0.9594, allocations: 0.6595 MB / 1.116 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001714/0.9611, allocations: 1.031 MB / 1.117 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004747/0.9616, allocations: 279.1 kB / 1.118 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005337/0.9621, allocations: 372 kB / 1.118 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of Backend: time 4.51e-07/0.9621, allocations: 0 / 1.118 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003159/0.9653, allocations: 1.73 MB / 1.12 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002758/0.9681, allocations: 1.585 MB / 1.121 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of Templates: time 0.04329/1.011, allocations: 15.63 MB / 1.137 GB, free: 15.08 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_Validation_PIDWithInputGains.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches