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.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.000797/0.000797, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001893, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007089/0.0007089, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009242/0.001633, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9819/0.9819, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08754/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.819/1.819, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4914/2.31, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.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 1.423e-06/1.423e-06, allocations: 1.203 kB / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.389e-05, allocations: 4.422 kB / 0.7296 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002062/0.002076, allocations: 1.822 MB / 0.7314 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.003231, allocations: 0.948 MB / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.003301, allocations: 0 / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.003406, allocations: 37.34 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.00362, allocations: 110.8 kB / 0.7325 GB, free: 1.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.003864, allocations: 169.5 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.004082, allocations: 248.8 kB / 0.7329 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.004181, allocations: 23.58 kB / 0.7329 GB, free: 1.098 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/0.01949, allocations: 6.526 MB / 0.7393 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.01964, allocations: 95.73 kB / 0.7394 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.01967, allocations: 16 kB / 0.7394 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.177e-05/0.01974, allocations: 35.92 kB / 0.7394 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.01979, allocations: 31.81 kB / 0.7395 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.01984, allocations: 41.34 kB / 0.7395 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.02006, allocations: 159.4 kB / 0.7396 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.02007, allocations: 0 / 0.7396 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.02008, allocations: 0 / 0.7396 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.02009, allocations: 1.281 kB / 0.7396 GB, free: 12.59 MB / 0.7136 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.0005498/0.02064, allocations: 499.6 kB / 0.7401 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.02066, allocations: 8.656 kB / 0.7401 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.02071, allocations: 20.91 kB / 0.7402 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.02087, allocations: 182.1 kB / 0.7403 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.02088, allocations: 12 kB / 0.7403 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.02091, allocations: 13.19 kB / 0.7403 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.02099, allocations: 69.64 kB / 0.7404 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.021, allocations: 0 / 0.7404 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.02101, allocations: 10.38 kB / 0.7404 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.02101, allocations: 4 kB / 0.7404 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.02105, allocations: 19.98 kB / 0.7404 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.0214, allocations: 267 kB / 0.7407 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.02156, allocations: 90.5 kB / 0.7408 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.02159, allocations: 20.86 kB / 0.7408 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.0216, allocations: 0 / 0.7408 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.0217, allocations: 92.94 kB / 0.7409 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 8.81e-07/0.0217, allocations: 0 / 0.7409 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001347/0.02184, allocations: 101.6 kB / 0.741 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.02187, allocations: 59.39 kB / 0.7411 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.02197, allocations: 192.6 kB / 0.7412 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.02199, allocations: 33.7 kB / 0.7413 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.02204, allocations: 104.5 kB / 0.7414 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.02207, allocations: 44.27 kB / 0.7414 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.02212, allocations: 58.23 kB / 0.7415 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.0222, allocations: 326.8 kB / 0.7418 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.02222, allocations: 20.64 kB / 0.7418 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.02236, allocations: 214 kB / 0.742 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.02242, allocations: 76.86 kB / 0.7421 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02243, allocations: 1.5 kB / 0.7421 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001007/0.02253, allocations: 116.3 kB / 0.7422 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.02254, allocations: 10.44 kB / 0.7422 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.02254, allocations: 0 / 0.7422 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.02255, allocations: 4 kB / 0.7422 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.02261, allocations: 31.92 kB / 0.7422 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.02261, allocations: 3.984 kB / 0.7422 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.02269, allocations: 31.81 kB / 0.7423 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.0227, allocations: 6.094 kB / 0.7423 GB, free: 9.684 MB / 0.7136 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 7.391e-05/0.02277, allocations: 130.6 kB / 0.7424 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.02279, allocations: 19.92 kB / 0.7424 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.02282, allocations: 21.8 kB / 0.7424 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02282, allocations: 48 / 0.7424 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.02283, allocations: 5.516 kB / 0.7424 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02283, allocations: 0 / 0.7424 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.0231, allocations: 316.5 kB / 0.7427 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.0231, allocations: 4 kB / 0.7427 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.02312, allocations: 4 kB / 0.7427 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.02313, allocations: 15.89 kB / 0.7428 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.02313, allocations: 0 / 0.7428 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.02314, allocations: 4 kB / 0.7428 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.02314, allocations: 4 kB / 0.7428 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02314, allocations: 3.531 kB / 0.7428 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.798e-05/0.02324, allocations: 191.3 kB / 0.743 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.02325, allocations: 3.984 kB / 0.743 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.0233, allocations: 15.98 kB / 0.743 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.02334, allocations: 15.97 kB / 0.743 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.02336, allocations: 8 kB / 0.743 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.0234, allocations: 54.42 kB / 0.7431 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.0234, allocations: 0 / 0.7431 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001582/0.02356, allocations: 43.95 kB / 0.7431 GB, free: 8.793 MB / 0.7136 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.0002903/0.02385, allocations: 177.5 kB / 0.7433 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.02396, allocations: 77 kB / 0.7433 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.02396, allocations: 4 kB / 0.7433 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.02402, allocations: 48.72 kB / 0.7434 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.02431, allocations: 400.7 kB / 0.7438 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.02476, allocations: 287.8 kB / 0.744 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.0248, allocations: 76.97 kB / 0.7441 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.588e-05/0.02485, allocations: 21.62 kB / 0.7441 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.02502, allocations: 118.1 kB / 0.7442 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.02502, allocations: 0 / 0.7442 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of Templates: time 0.00535/0.03037, allocations: 4.159 MB / 0.7483 GB, free: 3.551 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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: 4.998405393213034]