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.0009041/0.0009041, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008105/0.0008105, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8764/0.8764, allocations: 177.1 MB / 203.5 MB, free: 5.691 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.765/1.765, allocations: 389 MB / 0.6338 GB, free: 12.7 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.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 2.134e-06/2.134e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.897e-05, allocations: 10.22 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002114/0.002143, allocations: 1.729 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003301, allocations: 0.9005 MB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.003382, allocations: 7.938 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.003545, allocations: 27.72 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.00387, allocations: 119.3 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.004143, allocations: 158.4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.004359, allocations: 247.3 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004473, allocations: 25.78 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.004617, allocations: 151.7 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005738/0.01035, allocations: 2.022 MB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.01039, allocations: 16 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.01047, allocations: 39.92 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.01052, allocations: 39.83 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.0106, allocations: 75.8 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.0109, allocations: 243.2 kB / 1.007 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01091, allocations: 0 / 1.007 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01091, allocations: 0 / 1.007 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.01091, allocations: 0 / 1.007 GB, free: 7.805 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.0006034/0.01152, allocations: 487.1 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.01155, allocations: 8.75 kB / 1.007 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.01162, allocations: 28.83 kB / 1.007 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.01183, allocations: 190.7 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.01185, allocations: 8.375 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.01187, allocations: 19.94 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.01201, allocations: 89.61 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.01202, allocations: 0 / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.01203, allocations: 7.984 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.01203, allocations: 4 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.01212, allocations: 51.97 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.01261, allocations: 364.2 kB / 1.008 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.01287, allocations: 134.6 kB / 1.008 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.01291, allocations: 36.84 kB / 1.008 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.01293, allocations: 0 / 1.008 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.01305, allocations: 111.3 kB / 1.008 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 9.51e-07/0.01305, allocations: 0 / 1.008 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0002507/0.01331, allocations: 176.3 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.01334, allocations: 59.34 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.01347, allocations: 190.8 kB / 1.008 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.0135, allocations: 37.69 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.01357, allocations: 116.6 kB / 1.009 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.0136, allocations: 39.7 kB / 1.009 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.01366, allocations: 57.66 kB / 1.009 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.01374, allocations: 330.8 kB / 1.009 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.01378, allocations: 43.92 kB / 1.009 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.01397, allocations: 232.5 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.01406, allocations: 110.1 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01407, allocations: 0 / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001554/0.01422, allocations: 149.5 kB / 1.009 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01423, allocations: 4 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01424, allocations: 8.125 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.01425, allocations: 0 / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.345e-05/0.0143, allocations: 19.92 kB / 1.009 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.0143, allocations: 4 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.01441, allocations: 31.88 kB / 1.01 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.01441, allocations: 4 kB / 1.01 GB, free: 4.469 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.0001022/0.01451, allocations: 139.8 kB / 1.01 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.01453, allocations: 23.8 kB / 1.01 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.01456, allocations: 17.81 kB / 1.01 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01457, allocations: 11.98 kB / 1.01 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01457, allocations: 3.938 kB / 1.01 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01458, allocations: 0 / 1.01 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.01496, allocations: 413.9 kB / 1.01 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01496, allocations: 0 / 1.01 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.01497, allocations: 7.984 kB / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01498, allocations: 0 / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.01498, allocations: 4 kB / 1.01 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.01498, allocations: 0 / 1.01 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01499, allocations: 4 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.01514, allocations: 239.2 kB / 1.01 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.01515, allocations: 11.91 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.01517, allocations: 0 / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.01523, allocations: 15.98 kB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.01529, allocations: 23.95 kB / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.01531, allocations: 4 kB / 1.01 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.731e-05/0.0154, allocations: 146.7 kB / 1.011 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.0154, allocations: 0 / 1.011 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002117/0.01561, allocations: 47.89 kB / 1.011 GB, free: 3.316 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.0002463/0.01585, allocations: 184.2 kB / 1.011 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.01602, allocations: 103.7 kB / 1.011 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01602, allocations: 0 / 1.011 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.01608, allocations: 51.91 kB / 1.011 GB, free: 3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01634, allocations: 51.27 kB / 1.011 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.01677, allocations: 312.5 kB / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.01685, allocations: 116.2 kB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.01689, allocations: 24.48 kB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of SimCode: time 8.41e-07/0.01689, allocations: 0 / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of Templates: time 0.003719/0.02061, allocations: 3.274 MB / 1.015 GB, free: 15.2 MB / 0.9792 GB " [Timeout remaining time 300] 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/jenkins/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] "" 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: 7.091259824112058]