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.001154/0.001154, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001167/0.001167, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 63.95 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4296, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003537/0.4332, allocations: 1.733 MB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.4349, allocations: 0.9008 MB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.435, allocations: 3.938 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.4352, allocations: 23.73 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.4357, allocations: 123.4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.4362, allocations: 152.4 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.4365, allocations: 247.3 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.4367, allocations: 41.66 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.4369, allocations: 107.7 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/0.4486, allocations: 1.972 MB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.4488, allocations: 20 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.4489, allocations: 35.98 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.449, allocations: 39.89 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.4492, allocations: 99.44 kB / 1.07 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.4496, allocations: 215.3 kB / 1.07 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4496, allocations: 0 / 1.07 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4496, allocations: 0 / 1.07 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.4497, allocations: 4 kB / 1.07 GB, free: 9.848 MB / 0.8419 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.0009373/0.4506, allocations: 0.5489 MB / 1.07 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4507, allocations: 8.625 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.4508, allocations: 24.66 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.4511, allocations: 244.7 kB / 1.071 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4511, allocations: 15.94 kB / 1.071 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.4511, allocations: 12 kB / 1.071 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.4514, allocations: 115.4 kB / 1.071 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4514, allocations: 0 / 1.071 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.4514, allocations: 4 kB / 1.071 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4514, allocations: 0 / 1.071 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.4516, allocations: 55.91 kB / 1.071 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000926/0.4525, allocations: 0.5434 MB / 1.071 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.4527, allocations: 101.3 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.4528, allocations: 41.7 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.4528, allocations: 4 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.4531, allocations: 131.7 kB / 1.072 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.4531, allocations: 0 / 1.072 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003456/0.4535, allocations: 153.4 kB / 1.072 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.4535, allocations: 85.23 kB / 1.072 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.4537, allocations: 200.3 kB / 1.072 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.4538, allocations: 33.7 kB / 1.072 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.4539, allocations: 128.4 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.4539, allocations: 31.56 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/0.454, allocations: 57.67 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4542, allocations: 330.8 kB / 1.073 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.4542, allocations: 31.98 kB / 1.073 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.4545, allocations: 141.3 kB / 1.073 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4547, allocations: 117.7 kB / 1.073 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4547, allocations: 0 / 1.073 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002501/0.4549, allocations: 157.3 kB / 1.073 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.455, allocations: 4 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.455, allocations: 4 kB / 1.073 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.455, allocations: 4.156 kB / 1.073 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4551, allocations: 27.88 kB / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4551, allocations: 0 / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.4553, allocations: 27.81 kB / 1.073 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4554, allocations: 15.94 kB / 1.073 GB, free: 6.172 MB / 0.8419 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.0001397/0.4555, allocations: 139.5 kB / 1.073 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.4556, allocations: 15.81 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.4556, allocations: 21.52 kB / 1.073 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4556, allocations: 12 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4556, allocations: 0 / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4557, allocations: 0 / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.4563, allocations: 470.2 kB / 1.074 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4563, allocations: 0 / 1.074 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.4563, allocations: 4 kB / 1.074 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4563, allocations: 0 / 1.074 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4564, allocations: 11.98 kB / 1.074 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4564, allocations: 3.938 kB / 1.074 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4564, allocations: 0 / 1.074 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.4566, allocations: 224.1 kB / 1.074 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.4567, allocations: 96.84 kB / 1.074 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.4567, allocations: 8 kB / 1.074 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4568, allocations: 15.92 kB / 1.074 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.4569, allocations: 28.05 kB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.457, allocations: 8 kB / 1.074 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00012/0.4571, allocations: 144.2 kB / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.4571, allocations: 0 / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003198/0.4574, allocations: 43.91 kB / 1.074 GB, free: 4.852 MB / 0.8419 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.000368/0.4578, allocations: 171.6 kB / 1.074 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.4581, allocations: 112 kB / 1.075 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4581, allocations: 8.062 kB / 1.075 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4582, allocations: 55.92 kB / 1.075 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.4586, allocations: 53.38 kB / 1.075 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.4593, allocations: 318 kB / 1.075 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.4596, allocations: 0.7242 MB / 1.076 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.4596, allocations: 23.42 kB / 1.076 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.4597, allocations: 0 / 1.076 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of Templates: time 0.005993/0.4657, allocations: 3.211 MB / 1.079 GB, free: 176 kB / 0.8419 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