Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001291/0.001291, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001363/0.001363, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.52/1.52, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 71.89 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277/1.279, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains): time 0.005896/1.285, allocations: 2.778 MB / 1.224 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005102/1.29, allocations: 2.105 MB / 1.226 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/1.291, allocations: 19.94 kB / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006895/1.292, allocations: 126.6 kB / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008817/1.293, allocations: 142.8 kB / 1.226 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/1.295, allocations: 0.7689 MB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002681/1.298, allocations: 1.293 MB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/1.299, allocations: 499.7 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000991/1.3, allocations: 482.4 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/1.301, allocations: 485.9 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004929/1.302, allocations: 139.9 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004838/1.302, allocations: 152 kB / 1.23 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/1.303, allocations: 211.3 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008489/1.303, allocations: 0.4976 MB / 1.23 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/1.306, allocations: 1.395 MB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.306, allocations: 0 / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.122e-06/1.306, allocations: 0 / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.726e-05/1.306, allocations: 3.938 kB / 1.232 GB, free: 7.246 MB / 0.9512 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.003293/1.309, allocations: 1.338 MB / 1.233 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/1.309, allocations: 8.625 kB / 1.233 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/1.309, allocations: 111.8 kB / 1.233 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.311, allocations: 0.5639 MB / 1.234 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/1.311, allocations: 62.38 kB / 1.234 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.311, allocations: 88.38 kB / 1.234 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/1.312, allocations: 0.6729 MB / 1.234 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/1.312, allocations: 192 / 1.234 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/1.312, allocations: 27.94 kB / 1.234 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/1.312, allocations: 19.94 kB / 1.234 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/1.313, allocations: 477 kB / 1.235 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/1.318, allocations: 2.188 MB / 1.237 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/1.319, allocations: 0.5372 MB / 1.238 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/1.32, allocations: 283.6 kB / 1.238 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/1.32, allocations: 4.562 kB / 1.238 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006952/1.32, allocations: 378.8 kB / 1.238 GB, free: 296 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 3.196e-06/1.32, allocations: 3.938 kB / 1.238 GB, free: 292 kB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.001681/1.322, allocations: 0.7481 MB / 1.239 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/1.322, allocations: 115.4 kB / 1.239 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/1.323, allocations: 0.534 MB / 1.24 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/1.323, allocations: 57.75 kB / 1.24 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/1.324, allocations: 348.4 kB / 1.24 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/1.324, allocations: 201.1 kB / 1.24 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/1.324, allocations: 182.2 kB / 1.24 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002167/1.325, allocations: 374.8 kB / 1.241 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/1.326, allocations: 347.7 kB / 1.241 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/1.326, allocations: 474.7 kB / 1.241 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/1.328, allocations: 0.7456 MB / 1.242 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.328, allocations: 0 / 1.242 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002337/1.33, allocations: 1.094 MB / 1.243 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.33, allocations: 172.5 kB / 1.243 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.33, allocations: 3.984 kB / 1.243 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.33, allocations: 8 kB / 1.243 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/1.331, allocations: 108.1 kB / 1.244 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.331, allocations: 4 kB / 1.244 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/1.332, allocations: 211 kB / 1.244 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.332, allocations: 47.97 kB / 1.244 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009782/1.333, allocations: 473.6 kB / 1.244 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000764/1.334, allocations: 450.7 kB / 1.245 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001057/1.335, allocations: 0.7027 MB / 1.245 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/1.335, allocations: 3.938 kB / 1.245 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.001994/1.337, allocations: 1.051 MB / 1.246 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.337, allocations: 170.4 kB / 1.247 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.337, allocations: 0 / 1.247 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.337, allocations: 8 kB / 1.247 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/1.338, allocations: 99.83 kB / 1.247 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.338, allocations: 12.31 kB / 1.247 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.339, allocations: 187.3 kB / 1.247 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/1.339, allocations: 47.91 kB / 1.247 GB, free: 6.961 MB / 0.9669 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.0003325/1.339, allocations: 243 kB / 1.247 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/1.339, allocations: 67.16 kB / 1.247 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/1.341, allocations: 0.5954 MB / 1.248 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.341, allocations: 3.984 kB / 1.248 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.341, allocations: 0 / 1.248 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/1.341, allocations: 152.2 kB / 1.248 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/1.341, allocations: 15.98 kB / 1.248 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.341, allocations: 43.95 kB / 1.248 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.341, allocations: 56.44 kB / 1.248 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001419/1.343, allocations: 0.6821 MB / 1.249 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001725/1.345, allocations: 1.025 MB / 1.25 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004903/1.345, allocations: 280.4 kB / 1.25 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004965/1.346, allocations: 362.9 kB / 1.25 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of Backend: time 9.72e-07/1.346, allocations: 4 kB / 1.25 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003277/1.349, allocations: 1.73 MB / 1.252 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002884/1.352, allocations: 1.592 MB / 1.254 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.03201/1.384, allocations: 15.64 MB / 1.269 GB, free: 408 kB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_Validation_PIDWithInputGains.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithInputGains.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches