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.001414/0.001414, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001484/0.001484, allocations: 192.2 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.428/1.428, 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.618/2.618, allocations: 461.9 MB / 0.7354 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8853/0.8866, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003005/0.8896, allocations: 1.745 MB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.8911, allocations: 0.893 MB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.8913, allocations: 7.938 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.8915, allocations: 27.72 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.892, allocations: 119.4 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.8925, allocations: 162.9 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.8929, allocations: 239.4 kB / 1.212 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.893, allocations: 41.66 kB / 1.212 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.8932, allocations: 115.7 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01178/0.905, allocations: 1.986 MB / 1.214 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.139e-05/0.9051, allocations: 16 kB / 1.214 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.9053, allocations: 40 kB / 1.214 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.9054, allocations: 39.84 kB / 1.214 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.9055, allocations: 95.55 kB / 1.214 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.9059, allocations: 223.2 kB / 1.214 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9059, allocations: 0 / 1.214 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9059, allocations: 0 / 1.214 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9059, allocations: 0 / 1.214 GB, free: 8.57 MB / 0.9356 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.0009076/0.9068, allocations: 0.5489 MB / 1.215 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9069, allocations: 8.031 kB / 1.215 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.907, allocations: 24.66 kB / 1.215 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.9073, allocations: 247.5 kB / 1.215 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.9073, allocations: 8 kB / 1.215 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.9074, allocations: 16 kB / 1.215 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.9076, allocations: 117.1 kB / 1.215 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9076, allocations: 3.984 kB / 1.215 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.9077, allocations: 8 kB / 1.215 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.9077, allocations: 4 kB / 1.215 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.9078, allocations: 55.91 kB / 1.215 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.9086, allocations: 0.5357 MB / 1.216 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.9088, allocations: 93.12 kB / 1.216 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.033e-05/0.9089, allocations: 53.89 kB / 1.216 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.9089, allocations: 3.984 kB / 1.216 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.9092, allocations: 121.1 kB / 1.216 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.9093, allocations: 0 / 1.216 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.000366/0.9096, allocations: 165.4 kB / 1.216 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.9097, allocations: 81.11 kB / 1.216 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.9099, allocations: 204.2 kB / 1.216 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.91, allocations: 33.7 kB / 1.216 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.9101, allocations: 128.6 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.9101, allocations: 31.56 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.9102, allocations: 61.66 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9103, allocations: 330.8 kB / 1.217 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.9104, allocations: 31.92 kB / 1.217 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.9107, allocations: 137.3 kB / 1.217 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.9108, allocations: 113.3 kB / 1.217 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.9108, allocations: 8 kB / 1.217 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002569/0.9111, allocations: 157.3 kB / 1.217 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.9111, allocations: 4 kB / 1.217 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.9111, allocations: 4 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.9112, allocations: 0 / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.9113, allocations: 15.94 kB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.9113, allocations: 4 kB / 1.217 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.9115, allocations: 35.91 kB / 1.217 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.9116, allocations: 12 kB / 1.217 GB, free: 4.883 MB / 0.9356 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.0001299/0.9117, allocations: 139.5 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.9117, allocations: 15.81 kB / 1.217 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.9118, allocations: 21.52 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.9118, allocations: 4 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9118, allocations: 0 / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9118, allocations: 0 / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.9124, allocations: 470.2 kB / 1.218 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9124, allocations: 96 / 1.218 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.9125, allocations: 4 kB / 1.218 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9125, allocations: 3.984 kB / 1.218 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.9125, allocations: 4 kB / 1.218 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.9125, allocations: 11.92 kB / 1.218 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9125, allocations: 0 / 1.218 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.9128, allocations: 236 kB / 1.218 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.9128, allocations: 92.91 kB / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.9129, allocations: 0 / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.913, allocations: 19.92 kB / 1.218 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.9131, allocations: 19.97 kB / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.9131, allocations: 12 kB / 1.218 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00012/0.9132, allocations: 144.2 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9132, allocations: 4 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003225/0.9136, allocations: 43.94 kB / 1.218 GB, free: 3.559 MB / 0.9356 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.0003487/0.9139, allocations: 158.1 kB / 1.219 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.9142, allocations: 103.8 kB / 1.219 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9142, allocations: 0 / 1.219 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.9143, allocations: 58.66 kB / 1.219 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.9147, allocations: 68.27 kB / 1.219 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.9153, allocations: 318.2 kB / 1.219 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.9157, allocations: 0.7203 MB / 1.22 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.9157, allocations: 31.42 kB / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9157, allocations: 0 / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.005325/0.9211, allocations: 3.203 MB / 1.223 GB, free: 14.9 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