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.001859/0.001859, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001918/0.001918, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3/3, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.643e-06/1.643e-06, allocations: 3.938 kB / 0.8108 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.014e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003341/0.003371, allocations: 1.776 MB / 0.8125 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.005223, allocations: 0.9268 MB / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.005297, allocations: 0 / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.005484, allocations: 27.73 kB / 0.8134 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.005889, allocations: 124.9 kB / 0.8136 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.006268, allocations: 151.6 kB / 0.8137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.00661, allocations: 251.3 kB / 0.8139 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.006721, allocations: 20.27 kB / 0.814 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.006957, allocations: 151.7 kB / 0.8141 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02395/0.0309, allocations: 3.282 MB / 0.8173 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.627e-05/0.031, allocations: 20.84 kB / 0.8173 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.03115, allocations: 39.92 kB / 0.8174 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.03123, allocations: 41.67 kB / 0.8174 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.03136, allocations: 63.86 kB / 0.8175 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.03189, allocations: 239.2 kB / 0.8177 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.0319, allocations: 0 / 0.8177 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.482e-06/0.0319, allocations: 0 / 0.8177 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.0319, allocations: 0.7812 kB / 0.8177 GB, free: 11.2 MB / 0.7292 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.001021/0.03293, allocations: 0.5869 MB / 0.8183 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.03296, allocations: 8.031 kB / 0.8183 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.03307, allocations: 28.84 kB / 0.8183 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.0334, allocations: 188.7 kB / 0.8185 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.03342, allocations: 12.38 kB / 0.8185 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.03346, allocations: 21.89 kB / 0.8185 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.03366, allocations: 87.55 kB / 0.8186 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.03367, allocations: 0 / 0.8186 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.03369, allocations: 3.938 kB / 0.8186 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.0337, allocations: 4 kB / 0.8186 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.03383, allocations: 52.42 kB / 0.8187 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009127/0.03474, allocations: 445.3 kB / 0.8191 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.03515, allocations: 136.3 kB / 0.8192 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.03523, allocations: 35.31 kB / 0.8193 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.03525, allocations: 4 kB / 0.8193 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.03547, allocations: 117.1 kB / 0.8194 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.03547, allocations: 0 / 0.8194 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004269/0.0359, allocations: 171.5 kB / 0.8195 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.03595, allocations: 59.34 kB / 0.8196 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.03627, allocations: 283.8 kB / 0.8199 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.03631, allocations: 29.7 kB / 0.8199 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.03647, allocations: 175.3 kB / 0.8201 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.03652, allocations: 45.75 kB / 0.8201 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.03666, allocations: 71.33 kB / 0.8202 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003115/0.03697, allocations: 0.504 MB / 0.8207 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.03705, allocations: 27.98 kB / 0.8207 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.03744, allocations: 267.2 kB / 0.8209 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.03764, allocations: 112.4 kB / 0.821 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.03765, allocations: 0 / 0.821 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003059/0.03795, allocations: 169.4 kB / 0.8212 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.03797, allocations: 5.062 kB / 0.8212 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.03798, allocations: 4 kB / 0.8212 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.03799, allocations: 0 / 0.8212 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.03809, allocations: 20.8 kB / 0.8212 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.0381, allocations: 7.984 kB / 0.8212 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.0383, allocations: 33.31 kB / 0.8213 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.03831, allocations: 8 kB / 0.8213 GB, free: 7.254 MB / 0.7292 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.0001785/0.03849, allocations: 182.5 kB / 0.8215 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.03854, allocations: 29.64 kB / 0.8215 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.0386, allocations: 21.8 kB / 0.8215 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.0386, allocations: 0 / 0.8215 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.0386, allocations: 0 / 0.8215 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.03862, allocations: 7.984 kB / 0.8215 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.03941, allocations: 490.4 kB / 0.822 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.03942, allocations: 0.7188 kB / 0.822 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.03946, allocations: 11.94 kB / 0.822 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.03946, allocations: 0.6562 kB / 0.822 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.03947, allocations: 4 kB / 0.822 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.03947, allocations: 2.344 kB / 0.822 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03947, allocations: 0 / 0.822 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.03981, allocations: 294.9 kB / 0.8223 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.03984, allocations: 11.91 kB / 0.8223 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.03987, allocations: 11.98 kB / 0.8223 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.03999, allocations: 4 kB / 0.8223 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.04007, allocations: 29.83 kB / 0.8223 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.0401, allocations: 12 kB / 0.8223 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001751/0.04028, allocations: 183.1 kB / 0.8225 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.04028, allocations: 0 / 0.8225 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003228/0.0406, allocations: 59.81 kB / 0.8226 GB, free: 5.863 MB / 0.7292 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.0005549/0.04115, allocations: 166.4 kB / 0.8227 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.04145, allocations: 115.5 kB / 0.8228 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.04146, allocations: 4 kB / 0.8229 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.04158, allocations: 71.05 kB / 0.8229 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.04205, allocations: 47.95 kB / 0.823 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.04276, allocations: 295.1 kB / 0.8232 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.0429, allocations: 116.5 kB / 0.8234 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.128e-05/0.04298, allocations: 25.62 kB / 0.8234 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.04305, allocations: 24.48 kB / 0.8234 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/0.04306, allocations: 0 / 0.8234 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of Templates: time 0.0101/0.05316, allocations: 4.025 MB / 0.8273 GB, free: 1.016 MB / 0.7292 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 -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","/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: 8.048011566977948]