Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 109.3 kB / 17.08 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 196.2 kB / 20.03 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 490 MB / 0.7695 GB, free: 3.055 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 63.91 kB / 1.104 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 164 MB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003238/1.064, allocations: 1.738 MB / 1.266 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001501/1.066, allocations: 0.8953 MB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/1.066, allocations: 2.062 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/1.066, allocations: 26.64 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003965/1.066, allocations: 121.7 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/1.067, allocations: 152.7 kB / 1.267 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/1.067, allocations: 239.1 kB / 1.267 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/1.067, allocations: 40.3 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/1.068, allocations: 115.8 kB / 1.267 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/1.081, allocations: 1.696 MB / 1.269 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-05/1.081, allocations: 21.19 kB / 1.269 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/1.081, allocations: 39.36 kB / 1.269 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/1.081, allocations: 40.19 kB / 1.269 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/1.081, allocations: 92 kB / 1.269 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/1.082, allocations: 221.5 kB / 1.269 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.082, allocations: 0 / 1.269 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.082, allocations: 0 / 1.269 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.082, allocations: 0.8125 kB / 1.269 GB, free: 4.543 MB / 0.9981 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.000837/1.083, allocations: 0.554 MB / 1.27 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.083, allocations: 13.72 kB / 1.27 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/1.083, allocations: 20.06 kB / 1.27 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/1.083, allocations: 246.3 kB / 1.27 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/1.083, allocations: 12.02 kB / 1.27 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/1.083, allocations: 13.53 kB / 1.27 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/1.083, allocations: 94.61 kB / 1.27 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.083, allocations: 7.938 kB / 1.27 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.083, allocations: 1.547 kB / 1.27 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/1.083, allocations: 2.719 kB / 1.27 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/1.084, allocations: 52.23 kB / 1.27 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/1.084, allocations: 464.9 kB / 1.271 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/1.085, allocations: 143.8 kB / 1.271 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/1.085, allocations: 38.31 kB / 1.271 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/1.085, allocations: 1.656 kB / 1.271 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/1.085, allocations: 109.4 kB / 1.271 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/1.085, allocations: 4 kB / 1.271 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003782/1.086, allocations: 167.7 kB / 1.271 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/1.086, allocations: 55.36 kB / 1.271 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/1.086, allocations: 202.4 kB / 1.271 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/1.086, allocations: 34.17 kB / 1.271 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/1.086, allocations: 122.7 kB / 1.271 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/1.086, allocations: 40.28 kB / 1.271 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.086, allocations: 59.91 kB / 1.271 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/1.086, allocations: 334.2 kB / 1.272 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/1.086, allocations: 32.7 kB / 1.272 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/1.086, allocations: 127.7 kB / 1.272 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/1.087, allocations: 103.1 kB / 1.272 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.087, allocations: 0.5312 kB / 1.272 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002415/1.087, allocations: 150 kB / 1.272 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.087, allocations: 6.391 kB / 1.272 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.087, allocations: 1.406 kB / 1.272 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.087, allocations: 1.969 kB / 1.272 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/1.087, allocations: 25.83 kB / 1.272 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.087, allocations: 2.969 kB / 1.272 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.087, allocations: 24.83 kB / 1.272 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/1.087, allocations: 5.031 kB / 1.272 GB, free: 2.117 MB / 0.9981 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 0.0001052/1.087, allocations: 157.5 kB / 1.272 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/1.087, allocations: 21.25 kB / 1.272 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/1.087, allocations: 19.44 kB / 1.272 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.087, allocations: 2.203 kB / 1.272 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.087, allocations: 5.281 kB / 1.272 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.087, allocations: 1.031 kB / 1.272 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/1.088, allocations: 493.6 kB / 1.273 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.088, allocations: 0 / 1.273 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/1.088, allocations: 10.55 kB / 1.273 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.088, allocations: 4.594 kB / 1.273 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/1.088, allocations: 0.8438 kB / 1.273 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.088, allocations: 8.875 kB / 1.273 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.088, allocations: 1.125 kB / 1.273 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/1.088, allocations: 231.4 kB / 1.273 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/1.088, allocations: 97.34 kB / 1.273 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/1.088, allocations: 10.38 kB / 1.273 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1.089, allocations: 18.03 kB / 1.273 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/1.089, allocations: 16.73 kB / 1.273 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/1.089, allocations: 15.16 kB / 1.273 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001175/1.089, allocations: 138.4 kB / 1.273 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.089, allocations: 0 / 1.273 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003228/1.089, allocations: 44.91 kB / 1.274 GB, free: 1.156 MB / 0.9981 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.0003803/1.09, allocations: 168.3 kB / 1.274 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002632/1.09, allocations: 113.1 kB / 1.274 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.09, allocations: 0.7188 kB / 1.274 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/1.09, allocations: 54.19 kB / 1.274 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/1.09, allocations: 51.48 kB / 1.274 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/1.091, allocations: 343.3 kB / 1.274 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/1.091, allocations: 0.7232 MB / 1.275 GB, free: 32 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/1.091, allocations: 24.98 kB / 1.275 GB, free: 24 kB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.091, allocations: 0 / 1.275 GB, free: 24 kB / 0.9981 GB Notification: Performance of Templates: time 0.0071/1.098, allocations: 3.226 MB / 1.278 GB, free: 15.67 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 12.099778370000422]