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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001392/0.001392, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.002224/0.002225, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.8 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 8 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7941, allocations: 153.8 MB / 1.022 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004569/0.7987, allocations: 3.672 MB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.8019, allocations: 1.496 MB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005634/0.8025, allocations: 35.75 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.8029, allocations: 118.8 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.8035, allocations: 170.6 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.8047, allocations: 0.5222 MB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.8059, allocations: 1.054 MB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.8064, allocations: 351.4 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.8069, allocations: 330.1 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003916/0.8073, allocations: 337.8 kB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.8074, allocations: 28 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.8074, allocations: 24 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.8076, allocations: 131.2 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.8077, allocations: 177.1 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.8085, allocations: 0.8123 MB / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8085, allocations: 0 / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8085, allocations: 0 / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.8085, allocations: 4 kB / 1.031 GB, free: 6.742 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.002152/0.8107, allocations: 1.247 MB / 1.033 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.8107, allocations: 12.52 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.8109, allocations: 126.5 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.812, allocations: 0.6918 MB / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.8122, allocations: 83.7 kB / 1.033 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.8123, allocations: 75.95 kB / 1.034 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.8135, allocations: 0.7328 MB / 1.034 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.8136, allocations: 0 / 1.034 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.8136, allocations: 28 kB / 1.034 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.8137, allocations: 16 kB / 1.034 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.8147, allocations: 0.5321 MB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/0.8179, allocations: 2.29 MB / 1.037 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.8192, allocations: 0.6311 MB / 1.038 GB, free: 64 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.8197, allocations: 282.3 kB / 1.038 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.8198, allocations: 8.562 kB / 1.038 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/0.8205, allocations: 334.9 kB / 1.038 GB, free: 15.44 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 2.925e-06/0.8205, allocations: 0 / 1.038 GB, free: 15.44 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.001474/0.822, allocations: 0.7677 MB / 1.039 GB, free: 14.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.822, allocations: 81.67 kB / 1.039 GB, free: 14.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000888/0.8229, allocations: 0.7439 MB / 1.04 GB, free: 13.81 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.823, allocations: 41.69 kB / 1.04 GB, free: 13.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.8233, allocations: 440.5 kB / 1.04 GB, free: 13.33 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.8235, allocations: 208.9 kB / 1.041 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.8236, allocations: 15.94 kB / 1.041 GB, free: 13.11 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.8237, allocations: 334 kB / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.8241, allocations: 197.2 kB / 1.041 GB, free: 12.58 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.8246, allocations: 312.4 kB / 1.041 GB, free: 12.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.8251, allocations: 234.2 kB / 1.042 GB, free: 12.02 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8251, allocations: 4 kB / 1.042 GB, free: 12.01 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001185/0.8263, allocations: 0.6618 MB / 1.042 GB, free: 11.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.813e-05/0.8264, allocations: 155.2 kB / 1.042 GB, free: 11.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.8265, allocations: 0 / 1.042 GB, free: 11.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8265, allocations: 8 kB / 1.042 GB, free: 11.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/0.8271, allocations: 147.8 kB / 1.042 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.8271, allocations: 8 kB / 1.043 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.8275, allocations: 75.31 kB / 1.043 GB, free: 10.92 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.8276, allocations: 20 kB / 1.043 GB, free: 10.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.8276, allocations: 4 kB / 1.043 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009547/0.8286, allocations: 0.5245 MB / 1.043 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.8286, allocations: 3.938 kB / 1.043 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.8286, allocations: 8 kB / 1.043 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.8292, allocations: 148 kB / 1.043 GB, free: 10.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.8292, allocations: 8 kB / 1.043 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.8295, allocations: 67.44 kB / 1.043 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.8296, allocations: 20 kB / 1.043 GB, free: 10.12 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004037/0.83, allocations: 302.5 kB / 1.044 GB, free: 9.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.8301, allocations: 94.78 kB / 1.044 GB, free: 9.727 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.8303, allocations: 109.2 kB / 1.044 GB, free: 9.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.8303, allocations: 11.95 kB / 1.044 GB, free: 9.605 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8303, allocations: 0 / 1.044 GB, free: 9.605 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.8303, allocations: 3.984 kB / 1.044 GB, free: 9.602 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.8325, allocations: 1.447 MB / 1.045 GB, free: 8.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8325, allocations: 3.984 kB / 1.045 GB, free: 8.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/0.833, allocations: 103.8 kB / 1.045 GB, free: 7.992 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.833, allocations: 15.94 kB / 1.045 GB, free: 7.977 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.8331, allocations: 12 kB / 1.045 GB, free: 7.965 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8331, allocations: 0 / 1.045 GB, free: 7.965 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8331, allocations: 4 kB / 1.045 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.8346, allocations: 0.963 MB / 1.046 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.8349, allocations: 227.8 kB / 1.047 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.835, allocations: 15.95 kB / 1.047 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.8354, allocations: 35.97 kB / 1.047 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.8355, allocations: 40.5 kB / 1.047 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.8355, allocations: 23.92 kB / 1.047 GB, free: 6.625 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000623/0.8362, allocations: 0.5107 MB / 1.047 GB, free: 6.121 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8362, allocations: 3.938 kB / 1.047 GB, free: 6.117 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008075/0.837, allocations: 279 kB / 1.047 GB, free: 5.844 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.8372, allocations: 117.3 kB / 1.048 GB, free: 5.719 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.8386, allocations: 0.8002 MB / 1.048 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8386, allocations: 0 / 1.048 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.8391, allocations: 275.1 kB / 1.049 GB, free: 4.652 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.8402, allocations: 244.4 kB / 1.049 GB, free: 4.418 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.843, allocations: 1.827 MB / 1.051 GB, free: 2.555 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.8436, allocations: 0.9901 MB / 1.052 GB, free: 1.535 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004875/0.8441, allocations: 122.8 kB / 1.052 GB, free: 1.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.8443, allocations: 59.44 kB / 1.052 GB, free: 1.352 MB / 0.795 GB Notification: Performance of SimCode: time 6.71e-07/0.8443, allocations: 0 / 1.052 GB, free: 1.352 MB / 0.795 GB Notification: Performance of Templates: time 0.01614/0.8604, allocations: 8.391 MB / 1.06 GB, free: 9.055 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=480 -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