Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001219/0.001219, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00198/0.003199, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001099/0.001099, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002511, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9396/0.9396, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08489/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.389/2.389, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.255/2.644, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.081e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002072/0.002093, allocations: 1.732 MB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.002823, allocations: 0.5731 MB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.002884, allocations: 7.938 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.00299, allocations: 31.66 kB / 0.8212 GB, free: 148 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.003176, allocations: 99.47 kB / 0.8213 GB, free: 48 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.003436, allocations: 166.6 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.00364, allocations: 215.4 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.00373, allocations: 22.39 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.01649, allocations: 4.994 MB / 0.8265 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.01666, allocations: 79.83 kB / 0.8266 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.0167, allocations: 19.94 kB / 0.8266 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.01679, allocations: 31.92 kB / 0.8267 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.01684, allocations: 19.94 kB / 0.8267 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.144e-05/0.0169, allocations: 43.86 kB / 0.8267 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.01716, allocations: 139.5 kB / 0.8269 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.01718, allocations: 8 kB / 0.8269 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.202e-06/0.01718, allocations: 0 / 0.8269 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.01719, allocations: 0 / 0.8269 GB, free: 12.22 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005591/0.01775, allocations: 463.1 kB / 0.8273 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.01778, allocations: 8.031 kB / 0.8273 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.01783, allocations: 16.92 kB / 0.8273 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.018, allocations: 165.5 kB / 0.8275 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.01802, allocations: 12.38 kB / 0.8275 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.01804, allocations: 12.38 kB / 0.8275 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.01813, allocations: 73.53 kB / 0.8276 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.01814, allocations: 0 / 0.8276 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.01814, allocations: 0 / 0.8276 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.01815, allocations: 4 kB / 0.8276 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.01818, allocations: 19.98 kB / 0.8276 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.01856, allocations: 259.8 kB / 0.8279 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.108e-05/0.01864, allocations: 46.56 kB / 0.8279 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.01866, allocations: 16.84 kB / 0.8279 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.01867, allocations: 4 kB / 0.8279 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.59e-05/0.01877, allocations: 79.42 kB / 0.828 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.01877, allocations: 0 / 0.828 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001338/0.0189, allocations: 81.66 kB / 0.8281 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.01894, allocations: 55.41 kB / 0.8281 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.01904, allocations: 176.6 kB / 0.8283 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.01906, allocations: 33.7 kB / 0.8283 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.01912, allocations: 119.9 kB / 0.8284 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.01914, allocations: 27.77 kB / 0.8285 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.01919, allocations: 49.67 kB / 0.8285 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.01927, allocations: 334.7 kB / 0.8288 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.01929, allocations: 8 kB / 0.8288 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.01944, allocations: 225.1 kB / 0.8291 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.879e-05/0.0195, allocations: 71.02 kB / 0.8291 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.0195, allocations: 0 / 0.8291 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001015/0.0196, allocations: 101.5 kB / 0.8292 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01961, allocations: 4 kB / 0.8292 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01962, allocations: 4 kB / 0.8292 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01963, allocations: 0 / 0.8292 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.0197, allocations: 19.98 kB / 0.8292 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.0197, allocations: 11.94 kB / 0.8293 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.01978, allocations: 19.94 kB / 0.8293 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.01979, allocations: 4 kB / 0.8293 GB, free: 9.508 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.784e-05/0.01986, allocations: 136.6 kB / 0.8294 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.01988, allocations: 15.97 kB / 0.8294 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.01991, allocations: 17.47 kB / 0.8294 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01991, allocations: 0 / 0.8294 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01991, allocations: 3.984 kB / 0.8294 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.01992, allocations: 0 / 0.8294 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.02016, allocations: 278.5 kB / 0.8297 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.02016, allocations: 0 / 0.8297 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.02017, allocations: 4 kB / 0.8297 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.02019, allocations: 23.84 kB / 0.8297 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.02019, allocations: 4 kB / 0.8297 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.0202, allocations: 7.984 kB / 0.8298 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.0202, allocations: 3.938 kB / 0.8298 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.0202, allocations: 3.984 kB / 0.8298 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.3e-05/0.02029, allocations: 159.5 kB / 0.8299 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.0203, allocations: 11.98 kB / 0.8299 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.02034, allocations: 4 kB / 0.8299 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.02038, allocations: 19.91 kB / 0.8299 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.0204, allocations: 4 kB / 0.83 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.02043, allocations: 46.78 kB / 0.83 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.02043, allocations: 0 / 0.83 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001633/0.0206, allocations: 43.92 kB / 0.83 GB, free: 8.676 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003328/0.02093, allocations: 182.7 kB / 0.8302 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.02104, allocations: 60.77 kB / 0.8303 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.02105, allocations: 4 kB / 0.8303 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.02109, allocations: 32.78 kB / 0.8303 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.02137, allocations: 329.3 kB / 0.8306 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.0219, allocations: 270.5 kB / 0.8309 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.734e-05/0.02193, allocations: 71.98 kB / 0.8309 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.077e-05/0.02198, allocations: 21.47 kB / 0.831 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.02214, allocations: 109.3 kB / 0.8311 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of SimCode: time 1.102e-06/0.02214, allocations: 0 / 0.8311 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of Templates: time 0.005314/0.02745, allocations: 3.698 MB / 0.8347 GB, free: 3.898 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.243063643574715]