Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001848/0.001848, allocations: 103.6 kB / 18.95 MB, free: 2.805 MB / 14.72 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.002453/0.002453, allocations: 215.8 kB / 22.25 MB, free: 5.117 MB / 14.72 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.866/2.866, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 70.84 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3631, allocations: 169.9 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003956/0.367, allocations: 1.738 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.3691, allocations: 0.9008 MB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3692, allocations: 7.938 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.3694, allocations: 27.73 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.37, allocations: 123.4 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.3704, allocations: 157.7 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000443/0.3709, allocations: 243.4 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.371, allocations: 33.73 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.3713, allocations: 115.7 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/0.3851, allocations: 1.653 MB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3852, allocations: 16 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3853, allocations: 39.97 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.3854, allocations: 39.84 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3855, allocations: 79.62 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.3859, allocations: 223.1 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3859, allocations: 0 / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3859, allocations: 0 / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3859, allocations: 7.938 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009258/0.3869, allocations: 484.7 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3869, allocations: 12.03 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.387, allocations: 24.78 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.3873, allocations: 193.7 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3873, allocations: 12 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.3874, allocations: 16 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3876, allocations: 109.1 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.3876, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3876, allocations: 4 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3876, allocations: 4 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3877, allocations: 55.91 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.3886, allocations: 464.2 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.3888, allocations: 85.12 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.3889, allocations: 41.89 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3889, allocations: 4 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.3892, allocations: 123.5 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3892, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003697/0.3896, allocations: 172.5 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.3896, allocations: 92.97 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3899, allocations: 204.9 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.3899, allocations: 33.7 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.39, allocations: 128.5 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.3901, allocations: 27.75 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3902, allocations: 61.67 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3903, allocations: 330.8 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.3904, allocations: 35.92 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.3907, allocations: 248.1 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3909, allocations: 110.1 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3909, allocations: 4 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002809/0.3912, allocations: 161.4 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3912, allocations: 6.188 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3912, allocations: 4 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3912, allocations: 4.156 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.3913, allocations: 19.92 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3913, allocations: 4 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.3915, allocations: 27.88 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3915, allocations: 8 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001476/0.3917, allocations: 139.5 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3917, allocations: 23.84 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.3918, allocations: 17.47 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3918, allocations: 4 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3918, allocations: 4 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3918, allocations: 0 / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.3924, allocations: 394 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3924, allocations: 3.984 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.3924, allocations: 4 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3924, allocations: 0 / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3924, allocations: 7.938 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3924, allocations: 0 / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3924, allocations: 0 / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.3927, allocations: 251.5 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.3927, allocations: 15.91 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3928, allocations: 0 / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3929, allocations: 19.97 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.393, allocations: 23.91 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.393, allocations: 4 kB / 1.292 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001454/0.3932, allocations: 148 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3932, allocations: 0 / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003217/0.3935, allocations: 47.94 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004544/0.3939, allocations: 169.8 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3942, allocations: 99.83 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3942, allocations: 4 kB / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3943, allocations: 43.92 kB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.3947, allocations: 63.23 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.3954, allocations: 324.2 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.3955, allocations: 112.1 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.16e-05/0.3956, allocations: 25.66 kB / 1.293 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.3957, allocations: 23.42 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3957, allocations: 0 / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of Templates: time 0.009385/0.4051, allocations: 4.034 MB / 1.297 GB, free: 13.53 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.270565818995237]