Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001486/0.001486, allocations: 156.5 kB / 23.01 MB, free: 4.949 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.738/2.738, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_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_12_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.002004/0.002004, allocations: 63.91 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8934/0.8954, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002617/0.8981, allocations: 1.723 MB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.8994, allocations: 0.9028 MB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.8995, allocations: 3.938 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.8997, allocations: 33.39 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.9, allocations: 118.8 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.9003, allocations: 154.7 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.9006, allocations: 248.9 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.9007, allocations: 24.67 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.9008, allocations: 121.5 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01312/0.9139, allocations: 1.653 MB / 1.159 GB, free: 30.79 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.914, allocations: 18.12 kB / 1.159 GB, free: 30.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.9142, allocations: 34.98 kB / 1.159 GB, free: 30.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.9142, allocations: 41.11 kB / 1.159 GB, free: 30.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.9143, allocations: 84.39 kB / 1.159 GB, free: 30.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.9147, allocations: 224.1 kB / 1.159 GB, free: 30.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9147, allocations: 0 / 1.159 GB, free: 30.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9147, allocations: 7.125 kB / 1.159 GB, free: 30.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.9147, allocations: 0 / 1.159 GB, free: 30.61 MB / 1.076 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.0007459/0.9155, allocations: 493.1 kB / 1.16 GB, free: 30.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.9155, allocations: 11.47 kB / 1.16 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.9156, allocations: 27.62 kB / 1.16 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.9158, allocations: 185.6 kB / 1.16 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.9158, allocations: 13.59 kB / 1.16 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.9159, allocations: 22.52 kB / 1.16 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.916, allocations: 109.8 kB / 1.16 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.9161, allocations: 2.875 kB / 1.16 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.9161, allocations: 4 kB / 1.16 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9161, allocations: 2.938 kB / 1.16 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.9162, allocations: 54.61 kB / 1.16 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.9169, allocations: 460.7 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.917, allocations: 88.25 kB / 1.161 GB, free: 29.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.9171, allocations: 38.86 kB / 1.161 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.9171, allocations: 3.031 kB / 1.161 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.9174, allocations: 128.8 kB / 1.161 GB, free: 29.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.9174, allocations: 0 / 1.161 GB, free: 29.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003174/0.9177, allocations: 162.2 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.9177, allocations: 86.95 kB / 1.161 GB, free: 29.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.9179, allocations: 200.7 kB / 1.161 GB, free: 29.06 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.9179, allocations: 35.58 kB / 1.161 GB, free: 29.03 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.918, allocations: 124.1 kB / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.918, allocations: 29.41 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.9181, allocations: 70.34 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.9182, allocations: 331.5 kB / 1.162 GB, free: 28.53 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.9182, allocations: 31.16 kB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.9184, allocations: 246.9 kB / 1.162 GB, free: 28.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.9186, allocations: 118.1 kB / 1.162 GB, free: 28.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9186, allocations: 3.031 kB / 1.162 GB, free: 28.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002135/0.9188, allocations: 153.5 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.9188, allocations: 8.281 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9188, allocations: 0 / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9188, allocations: 2.688 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.9189, allocations: 18.8 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9189, allocations: 7.094 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.9191, allocations: 33.22 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.9192, allocations: 5.719 kB / 1.162 GB, free: 28.09 MB / 1.076 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 9.761e-05/0.9193, allocations: 139.3 kB / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.9193, allocations: 19.81 kB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.9193, allocations: 19.38 kB / 1.162 GB, free: 27.94 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9193, allocations: 3.219 kB / 1.162 GB, free: 27.94 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.9193, allocations: 4.094 kB / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9193, allocations: 7.266 kB / 1.162 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.9198, allocations: 401.9 kB / 1.163 GB, free: 27.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9198, allocations: 3.938 kB / 1.163 GB, free: 27.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.9198, allocations: 3.031 kB / 1.163 GB, free: 27.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.9198, allocations: 0 / 1.163 GB, free: 27.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.9198, allocations: 2.719 kB / 1.163 GB, free: 27.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9198, allocations: 0 / 1.163 GB, free: 27.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9198, allocations: 3.031 kB / 1.163 GB, free: 27.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.92, allocations: 241.8 kB / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.9201, allocations: 21.69 kB / 1.163 GB, free: 27.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.9201, allocations: 7.938 kB / 1.163 GB, free: 27.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.9202, allocations: 15.39 kB / 1.163 GB, free: 27.42 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.9203, allocations: 20.48 kB / 1.163 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.9203, allocations: 13.14 kB / 1.163 GB, free: 27.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.057e-05/0.9204, allocations: 138.2 kB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9204, allocations: 0 / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003082/0.9207, allocations: 46.41 kB / 1.163 GB, free: 27.31 MB / 1.076 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.0003668/0.9211, allocations: 178.5 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.9213, allocations: 99.66 kB / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9213, allocations: 0 / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.644e-05/0.9214, allocations: 46.47 kB / 1.164 GB, free: 27.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.9218, allocations: 62.38 kB / 1.164 GB, free: 27.13 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.9223, allocations: 318.1 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/0.9224, allocations: 118.7 kB / 1.164 GB, free: 26.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.621e-05/0.9224, allocations: 21.95 kB / 1.164 GB, free: 26.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.9225, allocations: 23.39 kB / 1.164 GB, free: 26.81 MB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/0.9225, allocations: 0 / 1.164 GB, free: 26.81 MB / 1.076 GB Notification: Performance of Templates: time 0.007365/0.9299, allocations: 3.932 MB / 1.168 GB, free: 26.34 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.635199665906839]