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.00184/0.00184, allocations: 79.73 kB / 19.76 MB, free: 2.02 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.00304/0.00304, allocations: 155.9 kB / 23 MB, free: 4.949 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.621/1.621, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.857/2.857, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 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.002314/0.002314, allocations: 65.94 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8248, allocations: 181.8 MB / 1.187 GB, free: 16.12 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002892/0.8277, allocations: 1.732 MB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.8291, allocations: 0.9061 MB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.8292, allocations: 1.344 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.8294, allocations: 35.23 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.8297, allocations: 121.9 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.83, allocations: 162 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.8303, allocations: 237.2 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.8304, allocations: 24.89 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.8305, allocations: 117.4 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/0.8438, allocations: 1.66 MB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.8439, allocations: 17.06 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.8441, allocations: 38.89 kB / 1.192 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.8442, allocations: 40.12 kB / 1.192 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.8443, allocations: 82.62 kB / 1.192 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.8447, allocations: 229.3 kB / 1.192 GB, free: 13.4 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.8447, allocations: 0 / 1.192 GB, free: 13.4 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8447, allocations: 0 / 1.192 GB, free: 13.4 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8447, allocations: 0.875 kB / 1.192 GB, free: 13.4 MB / 1.076 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.0007636/0.8454, allocations: 492.3 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.8455, allocations: 9.906 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.8455, allocations: 24.44 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.8458, allocations: 190.4 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.8458, allocations: 11.38 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.8458, allocations: 11.12 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.846, allocations: 115.6 kB / 1.193 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.846, allocations: 0 / 1.193 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.846, allocations: 6.938 kB / 1.193 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8461, allocations: 5.875 kB / 1.193 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.8462, allocations: 56.7 kB / 1.193 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.8469, allocations: 456.1 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.847, allocations: 93.02 kB / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.8471, allocations: 39.47 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.8471, allocations: 2.156 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.8473, allocations: 129.5 kB / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.8473, allocations: 0 / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003056/0.8476, allocations: 164 kB / 1.194 GB, free: 12.08 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.8477, allocations: 85.22 kB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.8478, allocations: 200.7 kB / 1.194 GB, free: 11.85 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.8479, allocations: 34.83 kB / 1.194 GB, free: 11.81 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.8479, allocations: 118.5 kB / 1.194 GB, free: 11.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.848, allocations: 43.38 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.848, allocations: 60.95 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.8481, allocations: 332.6 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.8481, allocations: 34.3 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.8484, allocations: 246.2 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.8485, allocations: 116.9 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8485, allocations: 3.938 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002324/0.8487, allocations: 157.6 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.8487, allocations: 5 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.8488, allocations: 6.969 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.8488, allocations: 3.281 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.8489, allocations: 21.31 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8489, allocations: 3.953 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.8491, allocations: 29.14 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.8491, allocations: 5.656 kB / 1.195 GB, free: 10.88 MB / 1.076 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 9.104e-05/0.8492, allocations: 143.2 kB / 1.195 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.8492, allocations: 16.95 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.8493, allocations: 19.64 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8493, allocations: 6.703 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8493, allocations: 1.438 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8493, allocations: 0.7969 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.8498, allocations: 396.6 kB / 1.196 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8498, allocations: 1.5 kB / 1.196 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.8498, allocations: 8.656 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.8498, allocations: 1.75 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.8498, allocations: 1.891 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.8498, allocations: 5.781 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8498, allocations: 5.312 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.85, allocations: 235.2 kB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.85, allocations: 18.47 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.85, allocations: 6.203 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.8502, allocations: 12.27 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.8502, allocations: 23.44 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.8503, allocations: 7.953 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001035/0.8504, allocations: 146.5 kB / 1.196 GB, free: 10.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8504, allocations: 0 / 1.196 GB, free: 10.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003196/0.8507, allocations: 49.02 kB / 1.196 GB, free: 10.09 MB / 1.076 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.00031/0.851, allocations: 170.7 kB / 1.196 GB, free: 9.977 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.8512, allocations: 99.44 kB / 1.196 GB, free: 9.945 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8512, allocations: 1.281 kB / 1.196 GB, free: 9.945 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.8513, allocations: 47.8 kB / 1.196 GB, free: 9.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.8517, allocations: 56.83 kB / 1.196 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.8522, allocations: 324.3 kB / 1.197 GB, free: 9.691 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.37e-05/0.8523, allocations: 109.4 kB / 1.197 GB, free: 9.609 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.308e-05/0.8524, allocations: 24.45 kB / 1.197 GB, free: 9.605 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.8524, allocations: 27.89 kB / 1.197 GB, free: 9.594 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.8524, allocations: 4 kB / 1.197 GB, free: 9.59 MB / 1.076 GB Notification: Performance of Templates: time 0.008074/0.8605, allocations: 3.922 MB / 1.201 GB, free: 9.113 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.846798417973332]