Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.006539/0.006539, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001266/0.001266, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.097, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003013/1.101, allocations: 1.737 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001528/1.102, allocations: 0.8986 MB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/1.102, allocations: 1.125 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/1.102, allocations: 27.19 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003812/1.103, allocations: 125.4 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/1.103, allocations: 153.1 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/1.104, allocations: 242 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/1.104, allocations: 41.22 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/1.104, allocations: 111.6 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/1.115, allocations: 1.995 MB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.562e-05/1.115, allocations: 17.5 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/1.116, allocations: 38.44 kB / 1.093 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/1.116, allocations: 44.81 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/1.116, allocations: 92 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005379/1.116, allocations: 216 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.116, allocations: 0 / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.344e-06/1.116, allocations: 0.7969 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.116, allocations: 1.062 kB / 1.093 GB, free: 2.648 MB / 0.8575 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.0009911/1.117, allocations: 0.5527 MB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.117, allocations: 9.031 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/1.118, allocations: 24.23 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/1.118, allocations: 246.1 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.118, allocations: 11.11 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/1.118, allocations: 14.22 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/1.118, allocations: 112.2 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.118, allocations: 3.984 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/1.118, allocations: 5.344 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.118, allocations: 2.891 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/1.118, allocations: 56.55 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/1.12, allocations: 0.5378 MB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/1.12, allocations: 93.41 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/1.12, allocations: 45.41 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/1.12, allocations: 2.625 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/1.12, allocations: 128.2 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/1.12, allocations: 0 / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004503/1.121, allocations: 163.2 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.121, allocations: 81 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/1.121, allocations: 207.4 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/1.121, allocations: 37.94 kB / 1.096 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/1.121, allocations: 126.4 kB / 1.096 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/1.121, allocations: 31.39 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.121, allocations: 63.8 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/1.121, allocations: 330 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/1.121, allocations: 33.86 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/1.122, allocations: 143.5 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/1.122, allocations: 112.8 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.122, allocations: 0 / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003082/1.122, allocations: 160.6 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.122, allocations: 6.062 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.122, allocations: 2.188 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.122, allocations: 3.062 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/1.122, allocations: 21.48 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.122, allocations: 7.891 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/1.123, allocations: 29.55 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/1.123, allocations: 6.031 kB / 1.097 GB, free: 0 / 0.8575 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.0001921/1.123, allocations: 138.5 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/1.123, allocations: 17.11 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/1.123, allocations: 23.55 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.123, allocations: 2.422 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.123, allocations: 0.6875 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/1.123, allocations: 5.875 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/1.124, allocations: 459.7 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.124, allocations: 0 / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/1.124, allocations: 5.641 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/1.124, allocations: 4.891 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/1.124, allocations: 7.016 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.124, allocations: 5 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.124, allocations: 0.7969 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/1.124, allocations: 242.7 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/1.124, allocations: 91.09 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/1.124, allocations: 1.859 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/1.124, allocations: 19.41 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/1.125, allocations: 19.7 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/1.125, allocations: 7.219 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001615/1.125, allocations: 146.5 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.125, allocations: 0.6875 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003884/1.125, allocations: 52.06 kB / 1.098 GB, free: 15.06 MB / 0.8731 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.0003924/1.126, allocations: 166.4 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002956/1.126, allocations: 106.4 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.126, allocations: 0 / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.126, allocations: 55.75 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/1.127, allocations: 70.92 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/1.127, allocations: 285.4 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/1.128, allocations: 0.725 MB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001168/1.128, allocations: 19.66 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/1.128, allocations: 22.64 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/1.128, allocations: 0 / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01192/1.14, allocations: 3.658 MB / 1.103 GB, free: 13.64 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches