Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001491/0.001491, allocations: 108 kB / 15.6 MB, free: 132 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.001563/0.001563, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.5/1.5, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.872/2.872, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003056/0.003056, allocations: 63.89 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6794, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00607/0.6855, allocations: 4.333 MB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003199/0.6887, allocations: 1.593 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.6892, allocations: 35.81 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.6896, allocations: 162.2 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006/0.6902, allocations: 229.4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.6916, allocations: 0.6674 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.6929, allocations: 1.21 MB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007469/0.6936, allocations: 0.504 MB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.6942, allocations: 454 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.6947, allocations: 457.4 kB / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.6949, allocations: 104 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.695, allocations: 104 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.6952, allocations: 235.1 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.6957, allocations: 493 kB / 1.028 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.6968, allocations: 1.123 MB / 1.029 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6968, allocations: 0 / 1.029 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6968, allocations: 0 / 1.029 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.6969, allocations: 0 / 1.029 GB, free: 6.82 MB / 0.7794 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.002457/0.6993, allocations: 1.393 MB / 1.03 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.6994, allocations: 15.98 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.6996, allocations: 123.4 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.7007, allocations: 0.7275 MB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.884e-05/0.7008, allocations: 84.27 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.7009, allocations: 72.28 kB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.7022, allocations: 0.7368 MB / 1.032 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.7022, allocations: 0 / 1.032 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.7023, allocations: 28 kB / 1.032 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.7023, allocations: 16 kB / 1.032 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.7036, allocations: 0.5204 MB / 1.032 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.7071, allocations: 2.271 MB / 1.034 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.7086, allocations: 0.6219 MB / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.7092, allocations: 275.2 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.7093, allocations: 12.55 kB / 1.035 GB, free: 15.72 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007702/0.71, allocations: 323.1 kB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 2.936e-06/0.7101, allocations: 0 / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.001778/0.7118, allocations: 0.7594 MB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.7119, allocations: 81.67 kB / 1.037 GB, free: 14.53 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009733/0.7129, allocations: 0.7594 MB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.713, allocations: 49.69 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.7134, allocations: 432.5 kB / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.7136, allocations: 208.9 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.7138, allocations: 106.3 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7139, allocations: 330 kB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.7144, allocations: 211.4 kB / 1.039 GB, free: 12.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.715, allocations: 300.5 kB / 1.039 GB, free: 12.1 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7161, allocations: 0.5074 MB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7161, allocations: 4 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001373/0.7174, allocations: 0.65 MB / 1.04 GB, free: 10.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.7175, allocations: 10.34 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7175, allocations: 0 / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.7175, allocations: 8 kB / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.7182, allocations: 148 kB / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.7182, allocations: 7.938 kB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.7187, allocations: 71.34 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.7187, allocations: 20.05 kB / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006595/0.7194, allocations: 360.6 kB / 1.041 GB, free: 10.29 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005071/0.7199, allocations: 300.3 kB / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009509/0.7209, allocations: 0.4917 MB / 1.041 GB, free: 9.438 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.7209, allocations: 0 / 1.041 GB, free: 9.438 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001208/0.7221, allocations: 0.6305 MB / 1.042 GB, free: 8.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.7221, allocations: 8.25 kB / 1.042 GB, free: 8.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.7221, allocations: 4 kB / 1.042 GB, free: 8.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.7221, allocations: 4 kB / 1.042 GB, free: 8.781 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.7228, allocations: 143.7 kB / 1.042 GB, free: 8.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7228, allocations: 4 kB / 1.042 GB, free: 8.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.7232, allocations: 55.52 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.7233, allocations: 19.98 kB / 1.042 GB, free: 8.562 MB / 0.795 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.0002144/0.7235, allocations: 224.1 kB / 1.042 GB, free: 8.336 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.7236, allocations: 90.88 kB / 1.042 GB, free: 8.246 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.7238, allocations: 101.2 kB / 1.043 GB, free: 8.141 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.7238, allocations: 4 kB / 1.043 GB, free: 8.137 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.7239, allocations: 3.938 kB / 1.043 GB, free: 8.133 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.7239, allocations: 7.984 kB / 1.043 GB, free: 8.125 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.7262, allocations: 1.438 MB / 1.044 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7262, allocations: 0 / 1.044 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.7268, allocations: 103.8 kB / 1.044 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.7268, allocations: 4 kB / 1.044 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.7269, allocations: 19.98 kB / 1.044 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7269, allocations: 4 kB / 1.044 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7269, allocations: 11.94 kB / 1.044 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.7287, allocations: 0.9586 MB / 1.045 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.729, allocations: 223.8 kB / 1.045 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.7291, allocations: 12 kB / 1.045 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.7295, allocations: 27.97 kB / 1.045 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.7296, allocations: 36.52 kB / 1.045 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.7296, allocations: 19.98 kB / 1.045 GB, free: 5.184 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006982/0.7303, allocations: 0.5224 MB / 1.046 GB, free: 4.668 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7304, allocations: 0 / 1.046 GB, free: 4.668 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000741/0.7311, allocations: 279 kB / 1.046 GB, free: 4.395 MB / 0.795 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.0001523/0.7313, allocations: 115.2 kB / 1.046 GB, free: 4.273 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.7332, allocations: 0.8246 MB / 1.047 GB, free: 3.449 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7332, allocations: 0 / 1.047 GB, free: 3.449 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.7337, allocations: 267.8 kB / 1.047 GB, free: 3.191 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.7349, allocations: 268.3 kB / 1.048 GB, free: 2.941 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.7376, allocations: 1.571 MB / 1.049 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.7384, allocations: 0.9937 MB / 1.05 GB, free: 324 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004801/0.7389, allocations: 118.7 kB / 1.05 GB, free: 200 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.7391, allocations: 59.44 kB / 1.05 GB, free: 140 kB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.7391, allocations: 0 / 1.05 GB, free: 140 kB / 0.795 GB Notification: Performance of Templates: time 0.01893/0.758, allocations: 9.253 MB / 1.059 GB, free: 6.984 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches