Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009781/0.0009782, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.000332, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6531/0.6535, allocations: 142.4 MB / 0.9557 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004072/0.6576, allocations: 3.897 MB / 0.9595 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.6606, allocations: 1.531 MB / 0.961 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/0.6615, allocations: 30.5 kB / 0.961 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.662, allocations: 129.4 kB / 0.9611 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009937/0.663, allocations: 173.9 kB / 0.9613 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.6644, allocations: 0.6244 MB / 0.9619 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.6659, allocations: 1.13 MB / 0.963 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000809/0.6667, allocations: 493.7 kB / 0.9635 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006634/0.6674, allocations: 347.8 kB / 0.9638 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.6679, allocations: 350.3 kB / 0.9642 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.6681, allocations: 25.84 kB / 0.9642 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.6682, allocations: 26.47 kB / 0.9642 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.6684, allocations: 143.6 kB / 0.9643 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.6688, allocations: 416.2 kB / 0.9647 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.6695, allocations: 0.8163 MB / 0.9655 GB, free: 4 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6695, allocations: 0 / 0.9655 GB, free: 4 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6695, allocations: 0 / 0.9655 GB, free: 4 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.918e-05/0.6695, allocations: 0 / 0.9655 GB, free: 4 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002649/0.6722, allocations: 1.241 MB / 0.9668 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6722, allocations: 8.781 kB / 0.9668 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.6725, allocations: 123.7 kB / 0.9669 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.6737, allocations: 0.7283 MB / 0.9676 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.6738, allocations: 86.98 kB / 0.9677 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.674, allocations: 70.56 kB / 0.9677 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.6754, allocations: 0.7445 MB / 0.9685 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6754, allocations: 0 / 0.9685 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.6755, allocations: 26.56 kB / 0.9685 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.6755, allocations: 16.38 kB / 0.9685 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.6767, allocations: 0.5301 MB / 0.969 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.6805, allocations: 2.297 MB / 0.9713 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.6819, allocations: 0.6269 MB / 0.9719 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.6825, allocations: 287 kB / 0.9722 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.6826, allocations: 7.156 kB / 0.9722 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007519/0.6833, allocations: 324.3 kB / 0.9725 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 3.367e-06/0.6833, allocations: 7.938 kB / 0.9725 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.001806/0.6851, allocations: 0.7727 MB / 0.9732 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.6852, allocations: 88.52 kB / 0.9733 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.6863, allocations: 0.7534 MB / 0.9741 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.6863, allocations: 40.94 kB / 0.9741 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.6867, allocations: 441.3 kB / 0.9745 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.6869, allocations: 216.4 kB / 0.9747 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.687, allocations: 58.03 kB / 0.9748 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6871, allocations: 327.8 kB / 0.9751 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/0.6876, allocations: 204.8 kB / 0.9753 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.6882, allocations: 313.7 kB / 0.9756 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6892, allocations: 0.5135 MB / 0.9761 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6892, allocations: 5.281 kB / 0.9761 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001438/0.6907, allocations: 0.667 MB / 0.9767 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.6908, allocations: 154 kB / 0.9769 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6908, allocations: 5.188 kB / 0.9769 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.6908, allocations: 5.156 kB / 0.9769 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.6915, allocations: 152.2 kB / 0.977 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6915, allocations: 5.938 kB / 0.977 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.692, allocations: 74.5 kB / 0.9771 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.6921, allocations: 27.56 kB / 0.9771 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.6921, allocations: 3.969 kB / 0.9772 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/0.6931, allocations: 0.521 MB / 0.9777 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6931, allocations: 2.844 kB / 0.9777 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.6932, allocations: 9.391 kB / 0.9777 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.6937, allocations: 143.6 kB / 0.9778 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.6938, allocations: 8.75 kB / 0.9778 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.6942, allocations: 61.27 kB / 0.9779 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.6943, allocations: 23.91 kB / 0.9779 GB, free: 7.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0004171/0.6947, allocations: 300 kB / 0.9782 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6948, allocations: 95.5 kB / 0.9783 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.6951, allocations: 105.6 kB / 0.9784 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6951, allocations: 6.594 kB / 0.9784 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6951, allocations: 0 / 0.9784 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6951, allocations: 3.984 kB / 0.9784 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.6974, allocations: 1.45 MB / 0.9798 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6974, allocations: 7.938 kB / 0.9798 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.6979, allocations: 115.8 kB / 0.9799 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.698, allocations: 0 / 0.9799 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.698, allocations: 19.92 kB / 0.9799 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.698, allocations: 4 kB / 0.9799 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.698, allocations: 0 / 0.9799 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.6998, allocations: 0.9898 MB / 0.9809 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.7001, allocations: 223.6 kB / 0.9811 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-05/0.7002, allocations: 19.94 kB / 0.9811 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.7007, allocations: 35.97 kB / 0.9812 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.7008, allocations: 36.52 kB / 0.9812 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.7008, allocations: 24.08 kB / 0.9812 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006455/0.7015, allocations: 0.5185 MB / 0.9817 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7015, allocations: 0 / 0.9817 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007621/0.7022, allocations: 267 kB / 0.982 GB, free: 3.906 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001515/0.7024, allocations: 119.2 kB / 0.9821 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.704, allocations: 0.808 MB / 0.9829 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.704, allocations: 4 kB / 0.9829 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005235/0.7046, allocations: 275.1 kB / 0.9832 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.7058, allocations: 239.1 kB / 0.9834 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.7086, allocations: 1.977 MB / 0.9853 GB, free: 464 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.7092, allocations: 0.994 MB / 0.9863 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.7095, allocations: 63.42 kB / 0.9864 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.7095, allocations: 3.938 kB / 0.9864 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of Templates: time 0.0169/0.7264, allocations: 10.79 MB / 0.9969 GB, free: 4.645 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches