Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 104.6 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.7428 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.91 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9092/0.9108, allocations: 159.1 MB / 1.221 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003387/0.9142, allocations: 1.751 MB / 1.223 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.9159, allocations: 0.8938 MB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.916, allocations: 4 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.9162, allocations: 27.72 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.9167, allocations: 127.4 kB / 1.224 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.9172, allocations: 154.7 kB / 1.224 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.9175, allocations: 231.5 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.9177, allocations: 41.67 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.9179, allocations: 115.6 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.9294, allocations: 1.992 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.9296, allocations: 20 kB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.9297, allocations: 39.94 kB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.9298, allocations: 43.83 kB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.93, allocations: 91.55 kB / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.9305, allocations: 219.2 kB / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9305, allocations: 4 kB / 1.226 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9305, allocations: 0 / 1.226 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.9305, allocations: 0 / 1.226 GB, free: 13.15 MB / 0.9512 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.0009331/0.9315, allocations: 0.5506 MB / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.9315, allocations: 12.62 kB / 1.227 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.9316, allocations: 16.75 kB / 1.227 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.9319, allocations: 252.6 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.932, allocations: 15.94 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.932, allocations: 12 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.9323, allocations: 117.6 kB / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.9323, allocations: 0 / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.9323, allocations: 4 kB / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.9323, allocations: 0 / 1.227 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.9324, allocations: 59.91 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009103/0.9333, allocations: 0.5434 MB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.9335, allocations: 97.12 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.9336, allocations: 33.78 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.9336, allocations: 4 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.934, allocations: 133.1 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.934, allocations: 0 / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003763/0.9344, allocations: 157.6 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.9344, allocations: 81.11 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.9347, allocations: 209.3 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.9347, allocations: 33.7 kB / 1.229 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.9348, allocations: 124.4 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.9349, allocations: 39.53 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.935, allocations: 57.67 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9351, allocations: 326.8 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.9352, allocations: 31.98 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.9354, allocations: 145.3 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.9356, allocations: 109.9 kB / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.9356, allocations: 0 / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002808/0.9359, allocations: 157.3 kB / 1.23 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9359, allocations: 7.984 kB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9359, allocations: 4 kB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.936, allocations: 4 kB / 1.23 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.936, allocations: 20.09 kB / 1.23 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.9361, allocations: 7.938 kB / 1.23 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.9363, allocations: 27.81 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.9363, allocations: 12 kB / 1.23 GB, free: 9.461 MB / 0.9512 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.0001371/0.9365, allocations: 136.2 kB / 1.23 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.9365, allocations: 19.8 kB / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.9366, allocations: 21.52 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.9366, allocations: 4 kB / 1.23 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9366, allocations: 4 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9366, allocations: 0 / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.9372, allocations: 469.2 kB / 1.23 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9372, allocations: 0 / 1.23 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.9372, allocations: 7.938 kB / 1.23 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.9372, allocations: 0 / 1.23 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.9373, allocations: 4 kB / 1.23 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.9373, allocations: 3.938 kB / 1.23 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9373, allocations: 4 kB / 1.23 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.9375, allocations: 230.7 kB / 1.231 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.9376, allocations: 88.92 kB / 1.231 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.9376, allocations: 11.98 kB / 1.231 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.9378, allocations: 11.92 kB / 1.231 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.9379, allocations: 23.92 kB / 1.231 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.9379, allocations: 15.98 kB / 1.231 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001327/0.938, allocations: 143.3 kB / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.938, allocations: 0 / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003301/0.9384, allocations: 47.94 kB / 1.231 GB, free: 8.137 MB / 0.9512 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.0003511/0.9387, allocations: 170.4 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.939, allocations: 103.2 kB / 1.231 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.939, allocations: 0 / 1.231 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.585e-05/0.9391, allocations: 60.16 kB / 1.231 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.9395, allocations: 57.2 kB / 1.231 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.9401, allocations: 326.1 kB / 1.232 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.9404, allocations: 0.7282 MB / 1.232 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.9405, allocations: 19.44 kB / 1.232 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.9405, allocations: 0 / 1.232 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of Templates: time 0.00614/0.9467, allocations: 3.211 MB / 1.235 GB, free: 3.457 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time