Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001472/0.001472, allocations: 110 kB / 18.93 MB, free: 2.945 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.001551/0.001551, allocations: 186.4 kB / 22.23 MB, free: 5.16 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.292/1.292, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.847/2.847, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 74.84 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2833, allocations: 174.9 MB / 1.316 GB, free: 9.719 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003002/0.2863, allocations: 1.749 MB / 1.318 GB, free: 7.957 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2878, allocations: 0.9241 MB / 1.319 GB, free: 7.031 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.2878, allocations: 3.938 kB / 1.319 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.288, allocations: 35.72 kB / 1.319 GB, free: 6.992 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.2883, allocations: 115.5 kB / 1.319 GB, free: 6.879 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2886, allocations: 162.9 kB / 1.319 GB, free: 6.723 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.2889, allocations: 243.4 kB / 1.319 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.289, allocations: 33.66 kB / 1.319 GB, free: 6.449 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.2892, allocations: 115.7 kB / 1.319 GB, free: 6.336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.3016, allocations: 1.705 MB / 1.321 GB, free: 5.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.3017, allocations: 16 kB / 1.321 GB, free: 5.059 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.3018, allocations: 35.94 kB / 1.321 GB, free: 5.023 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.3018, allocations: 43.89 kB / 1.321 GB, free: 4.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3019, allocations: 95.5 kB / 1.321 GB, free: 4.887 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.3022, allocations: 223.1 kB / 1.321 GB, free: 4.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3022, allocations: 0 / 1.321 GB, free: 4.668 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3022, allocations: 0 / 1.321 GB, free: 4.668 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3022, allocations: 4 kB / 1.321 GB, free: 4.664 MB / 1.014 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.0007703/0.303, allocations: 484.7 kB / 1.322 GB, free: 4.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3031, allocations: 15.97 kB / 1.322 GB, free: 4.133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.3031, allocations: 16.84 kB / 1.322 GB, free: 4.117 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3034, allocations: 189.7 kB / 1.322 GB, free: 3.906 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3034, allocations: 19.98 kB / 1.322 GB, free: 3.887 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.3034, allocations: 16 kB / 1.322 GB, free: 3.871 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3036, allocations: 90.98 kB / 1.322 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3036, allocations: 0 / 1.322 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3036, allocations: 8 kB / 1.322 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3036, allocations: 0 / 1.322 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3037, allocations: 47.97 kB / 1.322 GB, free: 3.723 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.3045, allocations: 443.4 kB / 1.323 GB, free: 3.246 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.3049, allocations: 130.7 kB / 1.323 GB, free: 3.109 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.305, allocations: 28.86 kB / 1.323 GB, free: 3.078 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.305, allocations: 7.984 kB / 1.323 GB, free: 3.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.3052, allocations: 105.8 kB / 1.323 GB, free: 2.957 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3052, allocations: 0 / 1.323 GB, free: 2.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0003159/0.3055, allocations: 165.6 kB / 1.323 GB, free: 2.789 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3055, allocations: 55.41 kB / 1.323 GB, free: 2.723 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3057, allocations: 209 kB / 1.323 GB, free: 2.508 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.3057, allocations: 29.7 kB / 1.323 GB, free: 2.473 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.3058, allocations: 124.5 kB / 1.323 GB, free: 2.348 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.3059, allocations: 43.67 kB / 1.323 GB, free: 2.305 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.306, allocations: 57.67 kB / 1.324 GB, free: 2.242 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3061, allocations: 326.8 kB / 1.324 GB, free: 1.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.3061, allocations: 31.98 kB / 1.324 GB, free: 1.883 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.3064, allocations: 135.6 kB / 1.324 GB, free: 1.723 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3065, allocations: 102.2 kB / 1.324 GB, free: 1.609 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3065, allocations: 4 kB / 1.324 GB, free: 1.605 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002339/0.3068, allocations: 149.5 kB / 1.324 GB, free: 1.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3068, allocations: 8 kB / 1.324 GB, free: 1.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3068, allocations: 0 / 1.324 GB, free: 1.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3068, allocations: 4 kB / 1.324 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.3069, allocations: 19.92 kB / 1.324 GB, free: 1.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3069, allocations: 0 / 1.324 GB, free: 1.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3071, allocations: 27.88 kB / 1.324 GB, free: 1.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3071, allocations: 8.125 kB / 1.324 GB, free: 1.387 MB / 1.014 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.0001259/0.3072, allocations: 147.5 kB / 1.324 GB, free: 1.234 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3072, allocations: 19.89 kB / 1.324 GB, free: 1.215 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.3073, allocations: 17.81 kB / 1.324 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3073, allocations: 0 / 1.324 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3073, allocations: 0 / 1.324 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3073, allocations: 0 / 1.324 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.3079, allocations: 477.2 kB / 1.325 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3079, allocations: 0 / 1.325 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.308, allocations: 4 kB / 1.325 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.308, allocations: 0 / 1.325 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.308, allocations: 0 / 1.325 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.308, allocations: 11.94 kB / 1.325 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.308, allocations: 0 / 1.325 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3082, allocations: 238.4 kB / 1.325 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.3082, allocations: 15.91 kB / 1.325 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.3083, allocations: 0 / 1.325 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3084, allocations: 23.91 kB / 1.325 GB, free: 384 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.3084, allocations: 19.97 kB / 1.325 GB, free: 364 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.3085, allocations: 4 kB / 1.325 GB, free: 360 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001214/0.3086, allocations: 147.3 kB / 1.325 GB, free: 212 kB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3086, allocations: 0 / 1.325 GB, free: 212 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002815/0.3089, allocations: 51.88 kB / 1.325 GB, free: 160 kB / 1.014 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.000316/0.3092, allocations: 177.3 kB / 1.326 GB, free: 0 / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3094, allocations: 95.83 kB / 1.326 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3094, allocations: 4 kB / 1.326 GB, free: 15.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.712e-05/0.3095, allocations: 47.92 kB / 1.326 GB, free: 15.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3099, allocations: 54.58 kB / 1.326 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.3104, allocations: 323.2 kB / 1.326 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3108, allocations: 0.7203 MB / 1.327 GB, free: 14.72 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.054e-05/0.3108, allocations: 21.62 kB / 1.327 GB, free: 14.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.3109, allocations: 19.44 kB / 1.327 GB, free: 14.68 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3109, allocations: 4 kB / 1.327 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Templates: time 0.007346/0.3182, allocations: 3.815 MB / 1.331 GB, free: 10.89 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 7.8513961639255285]