Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 103.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 489.7 MB / 0.7761 GB, free: 2.465 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=515,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=515,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 1.127 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 172 MB / 1.295 GB, free: 38.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002571/1.132, allocations: 1.749 MB / 1.297 GB, free: 37.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001198/1.133, allocations: 0.9071 MB / 1.297 GB, free: 36.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/1.133, allocations: 2.531 kB / 1.297 GB, free: 36.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/1.134, allocations: 33.11 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/1.134, allocations: 117.5 kB / 1.298 GB, free: 36.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/1.134, allocations: 155.2 kB / 1.298 GB, free: 36.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/1.134, allocations: 240.1 kB / 1.298 GB, free: 36.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/1.135, allocations: 28.72 kB / 1.298 GB, free: 36.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/1.135, allocations: 116.5 kB / 1.298 GB, free: 36.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/1.147, allocations: 1.663 MB / 1.3 GB, free: 36.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/1.147, allocations: 17.5 kB / 1.3 GB, free: 36.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/1.147, allocations: 49.14 kB / 1.3 GB, free: 36.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/1.147, allocations: 35.27 kB / 1.3 GB, free: 36.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/1.148, allocations: 92.64 kB / 1.3 GB, free: 36.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/1.148, allocations: 230.3 kB / 1.3 GB, free: 36.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.148, allocations: 2.906 kB / 1.3 GB, free: 36.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/1.148, allocations: 0 / 1.3 GB, free: 36.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.148, allocations: 0 / 1.3 GB, free: 36.01 MB / 1.061 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.0007/1.149, allocations: 0.5526 MB / 1.301 GB, free: 35.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/1.149, allocations: 10.03 kB / 1.301 GB, free: 35.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/1.149, allocations: 23.89 kB / 1.301 GB, free: 35.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/1.149, allocations: 256.3 kB / 1.301 GB, free: 35.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.149, allocations: 12.44 kB / 1.301 GB, free: 35.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/1.149, allocations: 12.78 kB / 1.301 GB, free: 35.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/1.149, allocations: 116.4 kB / 1.301 GB, free: 35.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/1.149, allocations: 0 / 1.301 GB, free: 35.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.149, allocations: 2.906 kB / 1.301 GB, free: 35.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.149, allocations: 3.984 kB / 1.301 GB, free: 35.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/1.149, allocations: 57.22 kB / 1.301 GB, free: 35.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/1.15, allocations: 0.5372 MB / 1.302 GB, free: 34.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/1.15, allocations: 89.83 kB / 1.302 GB, free: 34.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/1.15, allocations: 35.69 kB / 1.302 GB, free: 34.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/1.15, allocations: 8 kB / 1.302 GB, free: 34.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/1.15, allocations: 127.8 kB / 1.302 GB, free: 34.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/1.15, allocations: 0 / 1.302 GB, free: 34.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003023/1.151, allocations: 161.4 kB / 1.302 GB, free: 34.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/1.151, allocations: 87.59 kB / 1.302 GB, free: 34.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.151, allocations: 203.1 kB / 1.302 GB, free: 34.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/1.151, allocations: 35.36 kB / 1.302 GB, free: 34.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/1.151, allocations: 119.6 kB / 1.302 GB, free: 34.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/1.151, allocations: 37.55 kB / 1.303 GB, free: 34.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/1.151, allocations: 59.06 kB / 1.303 GB, free: 34.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.861e-05/1.151, allocations: 325.1 kB / 1.303 GB, free: 33.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/1.151, allocations: 36.2 kB / 1.303 GB, free: 33.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/1.151, allocations: 143.9 kB / 1.303 GB, free: 33.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/1.152, allocations: 109.3 kB / 1.303 GB, free: 33.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.152, allocations: 0 / 1.303 GB, free: 33.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002143/1.152, allocations: 163.4 kB / 1.303 GB, free: 33.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.152, allocations: 13.69 kB / 1.303 GB, free: 33.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.152, allocations: 2.844 kB / 1.303 GB, free: 33.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.152, allocations: 2.594 kB / 1.303 GB, free: 33.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/1.152, allocations: 13.8 kB / 1.303 GB, free: 33.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/1.152, allocations: 9.344 kB / 1.303 GB, free: 33.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/1.152, allocations: 30.03 kB / 1.303 GB, free: 33.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/1.152, allocations: 17.44 kB / 1.303 GB, free: 33.36 MB / 1.061 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.433e-05/1.152, allocations: 137.2 kB / 1.304 GB, free: 33.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/1.152, allocations: 15.88 kB / 1.304 GB, free: 33.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/1.152, allocations: 22.67 kB / 1.304 GB, free: 33.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/1.152, allocations: 0 / 1.304 GB, free: 33.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.152, allocations: 2.719 kB / 1.304 GB, free: 33.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.152, allocations: 4 kB / 1.304 GB, free: 33.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/1.153, allocations: 468.8 kB / 1.304 GB, free: 32.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.153, allocations: 3.062 kB / 1.304 GB, free: 32.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/1.153, allocations: 7 kB / 1.304 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.153, allocations: 0 / 1.304 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/1.153, allocations: 7.219 kB / 1.304 GB, free: 32.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.153, allocations: 3.938 kB / 1.304 GB, free: 32.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.153, allocations: 96 / 1.304 GB, free: 32.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/1.153, allocations: 237.7 kB / 1.304 GB, free: 32.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/1.153, allocations: 95.7 kB / 1.304 GB, free: 32.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/1.153, allocations: 2.75 kB / 1.304 GB, free: 32.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/1.153, allocations: 23.16 kB / 1.304 GB, free: 32.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/1.153, allocations: 22.45 kB / 1.304 GB, free: 32.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/1.153, allocations: 9.219 kB / 1.304 GB, free: 32.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.061e-05/1.153, allocations: 144.1 kB / 1.305 GB, free: 32.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.153, allocations: 0 / 1.305 GB, free: 32.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000305/1.154, allocations: 42.34 kB / 1.305 GB, free: 32.42 MB / 1.061 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.0003515/1.154, allocations: 170.2 kB / 1.305 GB, free: 32.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002247/1.154, allocations: 100.3 kB / 1.305 GB, free: 32.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.154, allocations: 0 / 1.305 GB, free: 32.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/1.154, allocations: 49.88 kB / 1.305 GB, free: 32.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/1.155, allocations: 67.91 kB / 1.305 GB, free: 32.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/1.155, allocations: 339.4 kB / 1.305 GB, free: 31.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/1.155, allocations: 0.7211 MB / 1.306 GB, free: 31.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/1.155, allocations: 25.41 kB / 1.306 GB, free: 31.28 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/1.155, allocations: 0 / 1.306 GB, free: 31.28 MB / 1.061 GB Notification: Performance of Templates: time 0.004568/1.16, allocations: 3.211 MB / 1.309 GB, free: 30.93 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches