Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.002213/0.002213, allocations: 187 kB / 17.34 MB, free: 5.766 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.16 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.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9446/0.9464, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003049/0.9495, allocations: 1.739 MB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.951, allocations: 0.8969 MB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.9511, allocations: 5 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.9513, allocations: 27.92 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.9517, allocations: 117.8 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.9521, allocations: 152.7 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.9524, allocations: 241.9 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.9525, allocations: 45.45 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.9527, allocations: 111.9 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009585/0.9623, allocations: 1.653 MB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.9624, allocations: 21.91 kB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.9626, allocations: 38.27 kB / 1.094 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.9627, allocations: 48.36 kB / 1.094 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.9628, allocations: 88.67 kB / 1.094 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.9633, allocations: 216.3 kB / 1.094 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9633, allocations: 0 / 1.094 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9633, allocations: 0.6875 kB / 1.094 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.9633, allocations: 0 / 1.094 GB, free: 2.742 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.0008714/0.9642, allocations: 0.5535 MB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9642, allocations: 9.906 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.9643, allocations: 24.2 kB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.9646, allocations: 241.5 kB / 1.095 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.9646, allocations: 10.86 kB / 1.095 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.9647, allocations: 18.86 kB / 1.095 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.9649, allocations: 117 kB / 1.095 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.9649, allocations: 4.75 kB / 1.095 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.9649, allocations: 6.094 kB / 1.095 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.965, allocations: 2.094 kB / 1.095 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.9651, allocations: 53.42 kB / 1.095 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/0.966, allocations: 0.5414 MB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.9662, allocations: 100.7 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.9663, allocations: 41.66 kB / 1.096 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.9663, allocations: 2.047 kB / 1.096 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.9665, allocations: 128.4 kB / 1.096 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.9665, allocations: 0 / 1.096 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004155/0.9669, allocations: 165.8 kB / 1.096 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.967, allocations: 80.88 kB / 1.096 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.9672, allocations: 207.3 kB / 1.096 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.9672, allocations: 34.28 kB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.9673, allocations: 127.2 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.9674, allocations: 35.39 kB / 1.096 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.9675, allocations: 60.14 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.9676, allocations: 327.8 kB / 1.097 GB, free: 424 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.9677, allocations: 31.47 kB / 1.097 GB, free: 416 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.968, allocations: 139 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.9681, allocations: 117 kB / 1.097 GB, free: 204 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.9681, allocations: 1 kB / 1.097 GB, free: 204 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002805/0.9684, allocations: 160.3 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9685, allocations: 7.531 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.9685, allocations: 1.812 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.9685, allocations: 3.234 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.9686, allocations: 18.22 kB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.9686, allocations: 2.859 kB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.9689, allocations: 38.58 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.9689, allocations: 5.656 kB / 1.097 GB, free: 100 kB / 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.0001539/0.969, allocations: 142.1 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.9691, allocations: 17.23 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.9691, allocations: 19.69 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.9692, allocations: 2.375 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9692, allocations: 5.859 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.9692, allocations: 0.8438 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.9699, allocations: 466.9 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9699, allocations: 2.25 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.9699, allocations: 4.328 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9699, allocations: 5.031 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.97, allocations: 5.891 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.97, allocations: 5.891 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.97, allocations: 5.062 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.9703, allocations: 233.7 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.9703, allocations: 91.97 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.9704, allocations: 1.594 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.9705, allocations: 20.14 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.9706, allocations: 18.59 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.9706, allocations: 6.891 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001558/0.9708, allocations: 148 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9708, allocations: 0 / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003307/0.9711, allocations: 51.83 kB / 1.098 GB, free: 15.15 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.0003725/0.9715, allocations: 170.6 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.9718, allocations: 102.1 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9718, allocations: 1.062 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.9719, allocations: 51.44 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.9724, allocations: 64.5 kB / 1.099 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.9731, allocations: 342.1 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.9735, allocations: 0.7239 MB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.9736, allocations: 22.69 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of SimCode: time 5.92e-07/0.9736, allocations: 0 / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of Templates: time 0.007331/0.9809, allocations: 3.208 MB / 1.103 GB, free: 13.67 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches