Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 190.5 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 250.8 MB, free: 2.691 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.936/2.936, allocations: 495.8 MB / 0.7831 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9309, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002753/0.9337, allocations: 1.766 MB / 1.308 GB, free: 32.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.9352, allocations: 0.9216 MB / 1.309 GB, free: 31.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.9353, allocations: 0 / 1.309 GB, free: 31.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.9355, allocations: 37.25 kB / 1.309 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.9359, allocations: 123.1 kB / 1.31 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.9362, allocations: 152.2 kB / 1.31 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.9364, allocations: 250.6 kB / 1.31 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.9366, allocations: 21.58 kB / 1.31 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.9367, allocations: 117.9 kB / 1.31 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.9522, allocations: 2.033 MB / 1.312 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.308e-05/0.9523, allocations: 17.47 kB / 1.312 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.9524, allocations: 45.39 kB / 1.312 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.9525, allocations: 42.39 kB / 1.312 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.9526, allocations: 94.81 kB / 1.312 GB, free: 30.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.953, allocations: 215.4 kB / 1.312 GB, free: 30.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.953, allocations: 0 / 1.312 GB, free: 30.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.953, allocations: 0 / 1.312 GB, free: 30.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.953, allocations: 0 / 1.312 GB, free: 30.82 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006788/0.9537, allocations: 495.3 kB / 1.313 GB, free: 30.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.9537, allocations: 10.47 kB / 1.313 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.9538, allocations: 23.91 kB / 1.313 GB, free: 30.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.954, allocations: 182.2 kB / 1.313 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.954, allocations: 9.781 kB / 1.313 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.954, allocations: 13.59 kB / 1.313 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.9542, allocations: 96.28 kB / 1.313 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.9542, allocations: 0 / 1.313 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.9542, allocations: 0 / 1.313 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9542, allocations: 2.812 kB / 1.313 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.9543, allocations: 63.17 kB / 1.313 GB, free: 30.15 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.9549, allocations: 422.9 kB / 1.314 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.9553, allocations: 131.3 kB / 1.314 GB, free: 29.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.9553, allocations: 33.42 kB / 1.314 GB, free: 29.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.9554, allocations: 14.64 kB / 1.314 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.9556, allocations: 123.6 kB / 1.314 GB, free: 29.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.9556, allocations: 0 / 1.314 GB, free: 29.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003072/0.9559, allocations: 166.3 kB / 1.314 GB, free: 29.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.9559, allocations: 54.31 kB / 1.314 GB, free: 29.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.9561, allocations: 193.7 kB / 1.314 GB, free: 29.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.9561, allocations: 35.73 kB / 1.314 GB, free: 29.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.9561, allocations: 121.2 kB / 1.315 GB, free: 29.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.9562, allocations: 44.88 kB / 1.315 GB, free: 29.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.9562, allocations: 54.5 kB / 1.315 GB, free: 29.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.9563, allocations: 334.9 kB / 1.315 GB, free: 28.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.9564, allocations: 32.75 kB / 1.315 GB, free: 28.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.9565, allocations: 130.2 kB / 1.315 GB, free: 28.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.9567, allocations: 101.6 kB / 1.315 GB, free: 28.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9567, allocations: 0 / 1.315 GB, free: 28.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002035/0.9569, allocations: 161.4 kB / 1.315 GB, free: 28.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9569, allocations: 7.531 kB / 1.315 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9569, allocations: 2.625 kB / 1.315 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.9569, allocations: 6.594 kB / 1.315 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.957, allocations: 13.91 kB / 1.315 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.957, allocations: 2.938 kB / 1.315 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.9572, allocations: 22.7 kB / 1.315 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.9572, allocations: 9.469 kB / 1.315 GB, free: 28.6 MB / 1.061 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 9.294e-05/0.9573, allocations: 145.1 kB / 1.316 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.9573, allocations: 13.66 kB / 1.316 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.9573, allocations: 22.95 kB / 1.316 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.9573, allocations: 4 kB / 1.316 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9573, allocations: 0 / 1.316 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9573, allocations: 2.875 kB / 1.316 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.9579, allocations: 468.4 kB / 1.316 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9579, allocations: 0 / 1.316 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.9579, allocations: 10.62 kB / 1.316 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9579, allocations: 2.625 kB / 1.316 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.9579, allocations: 7.141 kB / 1.316 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9579, allocations: 3.938 kB / 1.316 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9579, allocations: 2.594 kB / 1.316 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.9581, allocations: 228.2 kB / 1.316 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.9581, allocations: 17.34 kB / 1.316 GB, free: 27.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.9581, allocations: 6.172 kB / 1.316 GB, free: 27.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.9583, allocations: 16.86 kB / 1.316 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.9583, allocations: 26.39 kB / 1.316 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.9584, allocations: 9.469 kB / 1.316 GB, free: 27.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.211e-05/0.9584, allocations: 148.8 kB / 1.316 GB, free: 27.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9584, allocations: 0 / 1.316 GB, free: 27.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002881/0.9587, allocations: 41.86 kB / 1.317 GB, free: 27.78 MB / 1.061 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.000341/0.9591, allocations: 177.5 kB / 1.317 GB, free: 27.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.9593, allocations: 101.1 kB / 1.317 GB, free: 27.63 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.9593, allocations: 256 / 1.317 GB, free: 27.63 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.9594, allocations: 51.84 kB / 1.317 GB, free: 27.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.9598, allocations: 57.95 kB / 1.317 GB, free: 27.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.9602, allocations: 300.6 kB / 1.317 GB, free: 27.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.9604, allocations: 0.7208 MB / 1.318 GB, free: 26.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.845e-05/0.9605, allocations: 20.27 kB / 1.318 GB, free: 26.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.9605, allocations: 23.8 kB / 1.318 GB, free: 26.68 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.9605, allocations: 0 / 1.318 GB, free: 26.68 MB / 1.061 GB Notification: Performance of Templates: time 0.007138/0.9676, allocations: 3.808 MB / 1.322 GB, free: 26.33 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.256933327764273]