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.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.001194/0.001194, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001423/0.001423, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9103/0.9103, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.806/1.806, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 1.583e-06/1.583e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.024e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002345/0.002375, allocations: 1.724 MB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.003508, allocations: 0.9006 MB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.003579, allocations: 3.938 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.003745, allocations: 31.73 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.004082, allocations: 119.3 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.004368, allocations: 162.8 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.00461, allocations: 247.3 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.004759, allocations: 21.8 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.004918, allocations: 147.7 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005157/0.01007, allocations: 1.696 MB / 1.006 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.01012, allocations: 20 kB / 1.006 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.01021, allocations: 35.94 kB / 1.006 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.01027, allocations: 39.83 kB / 1.006 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.01036, allocations: 67.81 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.01071, allocations: 243.2 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.01071, allocations: 0 / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01072, allocations: 0 / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.01072, allocations: 0 / 1.006 GB, free: 8.004 MB / 0.9636 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.0006584/0.01138, allocations: 496.7 kB / 1.007 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.01142, allocations: 8.75 kB / 1.007 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.01148, allocations: 20.84 kB / 1.007 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.01173, allocations: 190.7 kB / 1.007 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.01175, allocations: 12.38 kB / 1.007 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.01177, allocations: 15.94 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.01194, allocations: 92.02 kB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.01195, allocations: 0 / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.01196, allocations: 12 kB / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.01196, allocations: 0 / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.01205, allocations: 47.97 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.01258, allocations: 376.1 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.01287, allocations: 142.6 kB / 1.008 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.01291, allocations: 28.84 kB / 1.008 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.01293, allocations: 4 kB / 1.008 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.01308, allocations: 103.4 kB / 1.008 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.734e-06/0.01308, allocations: 0 / 1.008 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0002795/0.01336, allocations: 172 kB / 1.008 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.0134, allocations: 59.33 kB / 1.008 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.01355, allocations: 194.8 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.01358, allocations: 33.7 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.01365, allocations: 124.6 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.01368, allocations: 39.69 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.01375, allocations: 57.67 kB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.01384, allocations: 330.8 kB / 1.009 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.01389, allocations: 35.98 kB / 1.009 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01409, allocations: 230.5 kB / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.01419, allocations: 106.6 kB / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0142, allocations: 4 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001783/0.01437, allocations: 157.4 kB / 1.009 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.01439, allocations: 6.656 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.0144, allocations: 0 / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.01441, allocations: 4 kB / 1.009 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.01446, allocations: 19.92 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01447, allocations: 0 / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01457, allocations: 27.88 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.01458, allocations: 12.12 kB / 1.009 GB, free: 4.66 MB / 0.9636 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.000104/0.01469, allocations: 139.8 kB / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.01471, allocations: 23.8 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.01474, allocations: 17.81 kB / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01474, allocations: 0 / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01475, allocations: 0 / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01476, allocations: 12.02 kB / 1.009 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.01518, allocations: 413.9 kB / 1.01 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01518, allocations: 4 kB / 1.01 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.0152, allocations: 4 kB / 1.01 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.0152, allocations: 0 / 1.01 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01521, allocations: 11.98 kB / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01521, allocations: 0 / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01521, allocations: 0 / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.01538, allocations: 235.2 kB / 1.01 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.0154, allocations: 23.8 kB / 1.01 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01542, allocations: 0 / 1.01 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.01548, allocations: 15.98 kB / 1.01 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.01554, allocations: 23.97 kB / 1.01 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.01556, allocations: 11.98 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.405e-05/0.01566, allocations: 146.7 kB / 1.01 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01566, allocations: 3.938 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002105/0.01587, allocations: 39.94 kB / 1.01 GB, free: 3.496 MB / 0.9636 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.0003142/0.01618, allocations: 176 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.01636, allocations: 105.7 kB / 1.011 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01637, allocations: 0 / 1.011 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.01643, allocations: 56.16 kB / 1.011 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.01672, allocations: 47.59 kB / 1.011 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.01724, allocations: 344.2 kB / 1.011 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.01732, allocations: 108.2 kB / 1.011 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.01736, allocations: 24.5 kB / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.01736, allocations: 0 / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of Templates: time 0.003876/0.02124, allocations: 3.293 MB / 1.014 GB, free: 15.34 MB / 0.9792 GB " [Timeout remaining time 300] 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/jenkins/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: 7.3591784769669175]