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.001263/0.001263, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001396/0.001396, allocations: 221.8 kB / 23 MB, free: 4.91 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.174/3.174, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002068/0.002068, allocations: 63.12 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003353/0.3515, allocations: 1.724 MB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3532, allocations: 0.898 MB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.3533, allocations: 4 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.3535, allocations: 31.72 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.3539, allocations: 127.3 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.3542, allocations: 158.6 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.3546, allocations: 243.3 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3547, allocations: 33.72 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3548, allocations: 111.7 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01319/0.368, allocations: 1.669 MB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.447e-05/0.3681, allocations: 16 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3682, allocations: 36 kB / 1.37 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.194e-05/0.3683, allocations: 39.84 kB / 1.37 GB, free: 8.953 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3684, allocations: 79.67 kB / 1.37 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.3689, allocations: 223.1 kB / 1.37 GB, free: 8.656 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3689, allocations: 0 / 1.37 GB, free: 8.656 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3689, allocations: 0 / 1.37 GB, free: 8.656 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3689, allocations: 0 / 1.37 GB, free: 8.656 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.0009116/0.3698, allocations: 498.3 kB / 1.37 GB, free: 8.129 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3698, allocations: 8.031 kB / 1.37 GB, free: 8.121 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.3699, allocations: 20.84 kB / 1.37 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.3702, allocations: 189.7 kB / 1.371 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3702, allocations: 12 kB / 1.371 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.3703, allocations: 19.92 kB / 1.371 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3705, allocations: 111.3 kB / 1.371 GB, free: 7.738 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3705, allocations: 7.984 kB / 1.371 GB, free: 7.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3705, allocations: 4 kB / 1.371 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3705, allocations: 0 / 1.371 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3707, allocations: 65.69 kB / 1.371 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.3715, allocations: 456.3 kB / 1.371 GB, free: 7.184 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.3717, allocations: 89.12 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.3718, allocations: 45.89 kB / 1.371 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3718, allocations: 4 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.3721, allocations: 127.9 kB / 1.371 GB, free: 6.883 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3721, allocations: 4 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003686/0.3725, allocations: 157.5 kB / 1.372 GB, free: 6.719 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.3725, allocations: 81.11 kB / 1.372 GB, free: 6.621 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3728, allocations: 206.5 kB / 1.372 GB, free: 6.406 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.3728, allocations: 33.7 kB / 1.372 GB, free: 6.367 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3729, allocations: 120.6 kB / 1.372 GB, free: 6.246 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.3729, allocations: 43.67 kB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.373, allocations: 61.67 kB / 1.372 GB, free: 6.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3732, allocations: 326.8 kB / 1.372 GB, free: 5.809 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.3733, allocations: 35.92 kB / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.3736, allocations: 248.1 kB / 1.373 GB, free: 5.473 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3738, allocations: 109.9 kB / 1.373 GB, free: 5.344 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3738, allocations: 8 kB / 1.373 GB, free: 5.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002712/0.374, allocations: 158.6 kB / 1.373 GB, free: 5.176 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3741, allocations: 4 kB / 1.373 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3741, allocations: 4 kB / 1.373 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3741, allocations: 3.984 kB / 1.373 GB, free: 5.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.3742, allocations: 19.88 kB / 1.373 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3742, allocations: 4 kB / 1.373 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3744, allocations: 28.03 kB / 1.373 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3744, allocations: 16 kB / 1.373 GB, free: 5.098 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.0001478/0.3746, allocations: 140.5 kB / 1.373 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3746, allocations: 15.91 kB / 1.373 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.3747, allocations: 25.45 kB / 1.373 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3747, allocations: 4 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3747, allocations: 0 / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3747, allocations: 0 / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.3753, allocations: 389.9 kB / 1.374 GB, free: 4.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3753, allocations: 4 kB / 1.374 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.3753, allocations: 4 kB / 1.374 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3753, allocations: 0 / 1.374 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3753, allocations: 11.98 kB / 1.374 GB, free: 4.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3753, allocations: 0 / 1.374 GB, free: 4.465 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3754, allocations: 0 / 1.374 GB, free: 4.465 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3756, allocations: 233.6 kB / 1.374 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.3757, allocations: 19.89 kB / 1.374 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3757, allocations: 0 / 1.374 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3758, allocations: 15.98 kB / 1.374 GB, free: 4.184 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.3759, allocations: 27.91 kB / 1.374 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3759, allocations: 8 kB / 1.374 GB, free: 4.148 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001446/0.3761, allocations: 148.2 kB / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3761, allocations: 0 / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003331/0.3764, allocations: 51.88 kB / 1.374 GB, free: 3.953 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.0004103/0.3768, allocations: 172.1 kB / 1.374 GB, free: 3.801 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3771, allocations: 95.84 kB / 1.374 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3771, allocations: 0 / 1.374 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.3772, allocations: 48.17 kB / 1.374 GB, free: 3.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.3776, allocations: 63.33 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.3783, allocations: 349.5 kB / 1.375 GB, free: 3.227 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3784, allocations: 108.1 kB / 1.375 GB, free: 3.102 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.3785, allocations: 27.42 kB / 1.375 GB, free: 3.074 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.3785, allocations: 4 kB / 1.375 GB, free: 3.07 MB / 1.061 GB Notification: Performance of Templates: time 0.00621/0.3847, allocations: 3.265 MB / 1.378 GB, free: 15.81 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/jenkins1/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: 12.024660236667842]