Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 79.75 kB / 19.76 MB, free: 2.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 157.9 kB / 23 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.832/2.832, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 65.88 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8261, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00259/0.8287, allocations: 1.739 MB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.83, allocations: 0.8984 MB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.8301, allocations: 8.938 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.8303, allocations: 30.98 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.8306, allocations: 113.9 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.8309, allocations: 160.4 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.8312, allocations: 244.9 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.8313, allocations: 19.16 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.8314, allocations: 116.5 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01598/0.8474, allocations: 2.029 MB / 1.192 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.8475, allocations: 17.47 kB / 1.192 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.8476, allocations: 38.28 kB / 1.192 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.8477, allocations: 52.3 kB / 1.192 GB, free: 13.47 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.8478, allocations: 75.34 kB / 1.192 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.8482, allocations: 223.5 kB / 1.192 GB, free: 13.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.8482, allocations: 0.9688 kB / 1.192 GB, free: 13.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8482, allocations: 0 / 1.192 GB, free: 13.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8482, allocations: 0 / 1.192 GB, free: 13.34 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007481/0.849, allocations: 491.8 kB / 1.193 GB, free: 12.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.849, allocations: 9.469 kB / 1.193 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.8491, allocations: 23.47 kB / 1.193 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.8493, allocations: 180.4 kB / 1.193 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.8493, allocations: 10.86 kB / 1.193 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.8494, allocations: 14.41 kB / 1.193 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.8496, allocations: 93.58 kB / 1.193 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8496, allocations: 1.062 kB / 1.193 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.8496, allocations: 9.625 kB / 1.193 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8496, allocations: 2.438 kB / 1.193 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.8497, allocations: 51.09 kB / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.8504, allocations: 371.8 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.8508, allocations: 132 kB / 1.194 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.8508, allocations: 34.52 kB / 1.194 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.8508, allocations: 5.062 kB / 1.194 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.8511, allocations: 110.7 kB / 1.194 GB, free: 12.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.8511, allocations: 0 / 1.194 GB, free: 12.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0003286/0.8514, allocations: 172 kB / 1.194 GB, free: 12.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.8514, allocations: 55.78 kB / 1.194 GB, free: 12.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.8516, allocations: 194.5 kB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.8516, allocations: 37.89 kB / 1.194 GB, free: 11.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.8517, allocations: 127.7 kB / 1.194 GB, free: 11.83 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.8517, allocations: 38.8 kB / 1.194 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.19e-05/0.8518, allocations: 56.23 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.8519, allocations: 328.5 kB / 1.195 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.8519, allocations: 39.98 kB / 1.195 GB, free: 11.44 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.8522, allocations: 234.6 kB / 1.195 GB, free: 11.22 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.8524, allocations: 107.7 kB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8524, allocations: 1.094 kB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002717/0.8526, allocations: 150.7 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.8526, allocations: 11.38 kB / 1.195 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8527, allocations: 1.125 kB / 1.195 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.8527, allocations: 2.531 kB / 1.195 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.8527, allocations: 17.11 kB / 1.195 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.8527, allocations: 2.844 kB / 1.195 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.853, allocations: 28.34 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.853, allocations: 5.094 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.832e-05/0.8531, allocations: 143.4 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.8531, allocations: 16.31 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.8532, allocations: 28.48 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8532, allocations: 1.094 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8532, allocations: 1.672 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8532, allocations: 0.6094 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.8537, allocations: 426 kB / 1.196 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8537, allocations: 0.5625 kB / 1.196 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.8537, allocations: 4.516 kB / 1.196 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8538, allocations: 1.094 kB / 1.196 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.8538, allocations: 9.703 kB / 1.196 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8538, allocations: 1.891 kB / 1.196 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8538, allocations: 0 / 1.196 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.854, allocations: 231.8 kB / 1.196 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.854, allocations: 17.69 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.854, allocations: 5.891 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.8541, allocations: 11.25 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.8542, allocations: 29.14 kB / 1.196 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.8542, allocations: 11.25 kB / 1.196 GB, free: 10.37 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001046/0.8543, allocations: 142.9 kB / 1.196 GB, free: 10.28 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8543, allocations: 4 kB / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003124/0.8547, allocations: 53.17 kB / 1.196 GB, free: 10.26 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003508/0.855, allocations: 169.5 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.8552, allocations: 97.52 kB / 1.197 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8552, allocations: 3.938 kB / 1.197 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.8553, allocations: 50.44 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.8557, allocations: 58.67 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.8562, allocations: 300 kB / 1.197 GB, free: 9.867 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.988e-05/0.8563, allocations: 109.9 kB / 1.197 GB, free: 9.789 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.343e-05/0.8564, allocations: 21.36 kB / 1.197 GB, free: 9.789 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.8564, allocations: 23.72 kB / 1.197 GB, free: 9.781 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.8564, allocations: 4 kB / 1.197 GB, free: 9.777 MB / 1.076 GB Notification: Performance of Templates: time 0.008444/0.8649, allocations: 3.999 MB / 1.201 GB, free: 9.289 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.52002391894348]