Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001728/0.001728, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002246/0.002246, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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 3.374/3.374, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [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.00207/0.00207, allocations: 73.91 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3661, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003468/0.3696, allocations: 1.716 MB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3713, allocations: 0.9057 MB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.3714, allocations: 3.938 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.3715, allocations: 27.73 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.3719, allocations: 123.4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.3723, allocations: 154.1 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.3726, allocations: 243.4 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3727, allocations: 29.73 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.3729, allocations: 115.6 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/0.3864, allocations: 1.658 MB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-05/0.3865, allocations: 20 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.3866, allocations: 43.97 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.3867, allocations: 35.91 kB / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.3868, allocations: 79.56 kB / 1.369 GB, free: 8.867 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.3872, allocations: 223.1 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3872, allocations: 3.938 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3872, allocations: 0 / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3873, allocations: 4 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009511/0.3882, allocations: 496.7 kB / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3882, allocations: 8.031 kB / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/0.3883, allocations: 20.84 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.3886, allocations: 189.8 kB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.3887, allocations: 8 kB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.3887, allocations: 16 kB / 1.37 GB, free: 7.852 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3889, allocations: 125 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3889, allocations: 4 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.389, allocations: 4 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.389, allocations: 0 / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3891, allocations: 55.88 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.3899, allocations: 452.3 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3901, allocations: 97.25 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/0.3902, allocations: 41.7 kB / 1.371 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3902, allocations: 4 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.3904, allocations: 131.4 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.3905, allocations: 0 / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003507/0.3908, allocations: 161.5 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.3909, allocations: 85.03 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.3911, allocations: 206.5 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.3911, allocations: 37.81 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3912, allocations: 120.5 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.3913, allocations: 35.7 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.3914, allocations: 65.66 kB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3915, allocations: 330.8 kB / 1.372 GB, free: 5.789 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.3916, allocations: 27.98 kB / 1.372 GB, free: 5.762 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.3919, allocations: 248.1 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3921, allocations: 115.4 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3921, allocations: 0 / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002677/0.3924, allocations: 158.6 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3924, allocations: 8 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3924, allocations: 0 / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3924, allocations: 4 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.3925, allocations: 15.94 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3925, allocations: 7.984 kB / 1.372 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.3927, allocations: 32.03 kB / 1.372 GB, free: 5.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3927, allocations: 8 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001451/0.3929, allocations: 143.4 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.3929, allocations: 15.91 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.393, allocations: 25.45 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.393, allocations: 0 / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.393, allocations: 4 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.393, allocations: 3.938 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.3936, allocations: 389.9 kB / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3936, allocations: 4 kB / 1.373 GB, free: 4.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.3936, allocations: 7.984 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3936, allocations: 0 / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3936, allocations: 4 kB / 1.373 GB, free: 4.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3936, allocations: 4 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3936, allocations: 4 kB / 1.373 GB, free: 4.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3939, allocations: 239.1 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.3939, allocations: 11.91 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3939, allocations: 4 kB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3941, allocations: 19.98 kB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.3941, allocations: 19.91 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.3942, allocations: 11.98 kB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000133/0.3943, allocations: 148.2 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3943, allocations: 0 / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003165/0.3946, allocations: 43.89 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004459/0.395, allocations: 175.1 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.3953, allocations: 100.1 kB / 1.374 GB, free: 3.691 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3953, allocations: 4.062 kB / 1.374 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3954, allocations: 43.92 kB / 1.374 GB, free: 3.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.3959, allocations: 49.61 kB / 1.374 GB, free: 3.598 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.3966, allocations: 323.8 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.3967, allocations: 112.2 kB / 1.374 GB, free: 3.125 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.589e-05/0.3968, allocations: 25.56 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.3969, allocations: 23.53 kB / 1.374 GB, free: 3.078 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.3969, allocations: 0 / 1.374 GB, free: 3.078 MB / 1.061 GB Notification: Performance of Templates: time 0.009367/0.4063, allocations: 4.037 MB / 1.378 GB, free: 15.11 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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: 9.196896051988006]