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.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.001739/0.00174, allocations: 115.8 kB / 17.08 MB, free: 5.988 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.001661/0.001661, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.426/1.426, allocations: 222.9 MB / 245.7 MB, free: 4.219 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 2.982/2.982, allocations: 489.2 MB / 0.7687 GB, free: 3.793 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.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: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 59.91 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8718/0.8737, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002888/0.8766, allocations: 1.74 MB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.8781, allocations: 0.8973 MB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.8782, allocations: 4.594 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.8784, allocations: 27.73 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.8787, allocations: 117.1 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.8791, allocations: 153.6 kB / 1.265 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.8794, allocations: 242.8 kB / 1.266 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.8795, allocations: 33.53 kB / 1.266 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.8797, allocations: 111.7 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01558/0.8953, allocations: 2.033 MB / 1.268 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.8954, allocations: 21.62 kB / 1.268 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.8955, allocations: 38.5 kB / 1.268 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.983e-05/0.8956, allocations: 40.09 kB / 1.268 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.8958, allocations: 93.23 kB / 1.268 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.8963, allocations: 221.7 kB / 1.268 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8963, allocations: 0.5625 kB / 1.268 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8963, allocations: 0 / 1.268 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.8963, allocations: 0.5938 kB / 1.268 GB, free: 5.168 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.0008316/0.8971, allocations: 0.5581 MB / 1.269 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.8972, allocations: 9.344 kB / 1.269 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.8973, allocations: 28.5 kB / 1.269 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.8975, allocations: 245.5 kB / 1.269 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.8976, allocations: 10.98 kB / 1.269 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.8976, allocations: 14.75 kB / 1.269 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.8978, allocations: 98.39 kB / 1.269 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8978, allocations: 0 / 1.269 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.8978, allocations: 1.531 kB / 1.269 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.8978, allocations: 2.031 kB / 1.269 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.898, allocations: 52.5 kB / 1.269 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.8987, allocations: 470.3 kB / 1.27 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.8992, allocations: 135.2 kB / 1.27 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.8992, allocations: 33.06 kB / 1.27 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.8993, allocations: 5.656 kB / 1.27 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.8995, allocations: 109.5 kB / 1.27 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.8996, allocations: 0 / 1.27 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003577/0.8999, allocations: 167.3 kB / 1.27 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.9, allocations: 59.64 kB / 1.27 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.9002, allocations: 199.6 kB / 1.27 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.9002, allocations: 34.66 kB / 1.27 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.9003, allocations: 125.1 kB / 1.27 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.9003, allocations: 43.83 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.9004, allocations: 55.42 kB / 1.271 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.9005, allocations: 329.6 kB / 1.271 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.9006, allocations: 42.42 kB / 1.271 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.9008, allocations: 127.1 kB / 1.271 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.901, allocations: 103.3 kB / 1.271 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.901, allocations: 0.875 kB / 1.271 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002607/0.9012, allocations: 152 kB / 1.271 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.9013, allocations: 8.906 kB / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9013, allocations: 5.453 kB / 1.271 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.9013, allocations: 2.641 kB / 1.271 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.9014, allocations: 17.77 kB / 1.271 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.9014, allocations: 7.422 kB / 1.271 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.9016, allocations: 28.86 kB / 1.271 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.9016, allocations: 5.344 kB / 1.271 GB, free: 2.727 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.0001066/0.9018, allocations: 144.8 kB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.9018, allocations: 16.19 kB / 1.271 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.9018, allocations: 19.77 kB / 1.272 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.9019, allocations: 6.625 kB / 1.272 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9019, allocations: 0 / 1.272 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.9019, allocations: 4 kB / 1.272 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.9025, allocations: 492.7 kB / 1.272 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9025, allocations: 0.9062 kB / 1.272 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.9025, allocations: 8.469 kB / 1.272 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.9026, allocations: 1.219 kB / 1.272 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.9026, allocations: 12.03 kB / 1.272 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9026, allocations: 4.844 kB / 1.272 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9026, allocations: 1.156 kB / 1.272 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.9028, allocations: 223.6 kB / 1.272 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.9029, allocations: 95.47 kB / 1.272 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.9029, allocations: 5.656 kB / 1.272 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.903, allocations: 14.66 kB / 1.272 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.9031, allocations: 30.91 kB / 1.272 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.9031, allocations: 10.25 kB / 1.272 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001087/0.9032, allocations: 143.5 kB / 1.273 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9032, allocations: 0 / 1.273 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003315/0.9036, allocations: 50.53 kB / 1.273 GB, free: 1.773 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.0003535/0.9039, allocations: 173.3 kB / 1.273 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.9042, allocations: 104.8 kB / 1.273 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9042, allocations: 0 / 1.273 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.9043, allocations: 53.77 kB / 1.273 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.9048, allocations: 52.2 kB / 1.273 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.9053, allocations: 312.6 kB / 1.273 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.9054, allocations: 0.7198 MB / 1.274 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.9055, allocations: 30.62 kB / 1.274 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/0.9055, allocations: 3.938 kB / 1.274 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of Templates: time 0.006707/0.9122, allocations: 3.217 MB / 1.277 GB, free: 300 kB / 0.9981 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 -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_2/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] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 12.017629019916058]