Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001282/0.001282, allocations: 119.7 kB / 17.13 MB, free: 5.918 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.001257/0.001257, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.451/1.451, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 443.5 MB / 0.7293 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 67.86 kB / 1.057 GB, free: 2.105 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 160.7 MB / 1.214 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003894/0.3383, allocations: 1.745 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3401, allocations: 0.9202 MB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.3403, allocations: 4 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.3405, allocations: 27.67 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.341, allocations: 119.4 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.3414, allocations: 155.7 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.3418, allocations: 239.4 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.342, allocations: 33.66 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3421, allocations: 107.7 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01646/0.3586, allocations: 2.038 MB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.3587, allocations: 16 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.359, allocations: 36 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3591, allocations: 39.84 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.3593, allocations: 99.48 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.3599, allocations: 215.2 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3599, allocations: 0 / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3599, allocations: 0 / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3599, allocations: 0 / 1.22 GB, free: 11.82 MB / 0.9669 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.001121/0.361, allocations: 0.5564 MB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3611, allocations: 12.03 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.3612, allocations: 16.84 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.3616, allocations: 252.4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3616, allocations: 12 kB / 1.221 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.3616, allocations: 16 kB / 1.221 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3618, allocations: 85.66 kB / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3618, allocations: 0 / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3619, allocations: 11.98 kB / 1.221 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3619, allocations: 0 / 1.221 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.362, allocations: 63.84 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.3629, allocations: 456.5 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.3634, allocations: 126.7 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.3634, allocations: 28.84 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3635, allocations: 11.98 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.3638, allocations: 123.3 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.3638, allocations: 3.938 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.000392/0.3642, allocations: 161.3 kB / 1.222 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3642, allocations: 55.41 kB / 1.222 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3645, allocations: 202.5 kB / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.3645, allocations: 33.7 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3646, allocations: 120.5 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.3647, allocations: 39.72 kB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3648, allocations: 57.69 kB / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3649, allocations: 330.8 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.365, allocations: 27.98 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.3653, allocations: 139.5 kB / 1.223 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3654, allocations: 95.2 kB / 1.223 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3654, allocations: 0 / 1.223 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002826/0.3657, allocations: 165.3 kB / 1.223 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3657, allocations: 4 kB / 1.223 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3657, allocations: 0 / 1.223 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3658, allocations: 4 kB / 1.223 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.3658, allocations: 12 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3658, allocations: 4 kB / 1.223 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.3661, allocations: 31.86 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3661, allocations: 15.98 kB / 1.223 GB, free: 8.324 MB / 0.9669 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 0.0001469/0.3662, allocations: 139.6 kB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.3663, allocations: 15.91 kB / 1.223 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.3663, allocations: 25.86 kB / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3663, allocations: 0 / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3663, allocations: 0 / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3664, allocations: 0 / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/0.3671, allocations: 498.1 kB / 1.223 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3671, allocations: 4 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.3671, allocations: 7.938 kB / 1.223 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3671, allocations: 0 / 1.223 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3671, allocations: 11.94 kB / 1.223 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3671, allocations: 3.938 kB / 1.223 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3671, allocations: 0 / 1.223 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3674, allocations: 231.2 kB / 1.224 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.3675, allocations: 89.02 kB / 1.224 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3675, allocations: 7.984 kB / 1.224 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3676, allocations: 19.92 kB / 1.224 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.3677, allocations: 20.02 kB / 1.224 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3677, allocations: 11.98 kB / 1.224 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001346/0.3679, allocations: 139.2 kB / 1.224 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3679, allocations: 3.938 kB / 1.224 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003156/0.3682, allocations: 47.89 kB / 1.224 GB, free: 6.969 MB / 0.9669 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.0004359/0.3686, allocations: 176.3 kB / 1.224 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.3689, allocations: 99.42 kB / 1.224 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3689, allocations: 0 / 1.224 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.369, allocations: 55.91 kB / 1.224 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3694, allocations: 43.95 kB / 1.224 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.3701, allocations: 320.9 kB / 1.225 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3704, allocations: 0.728 MB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.3705, allocations: 27.42 kB / 1.225 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.3705, allocations: 0 / 1.225 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.006611/0.3771, allocations: 3.222 MB / 1.229 GB, free: 2.297 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 11.420828701928258]