Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001107, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008357/0.008358, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.45/2.45, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8401/0.8404, allocations: 142.4 MB / 0.955 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002286/0.8428, allocations: 1.533 MB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.8443, allocations: 0.9373 MB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.8444, allocations: 1.5 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.8446, allocations: 20.44 kB / 0.9575 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.8448, allocations: 90.89 kB / 0.9575 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.8452, allocations: 142.2 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.8454, allocations: 229 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.8456, allocations: 37.91 kB / 0.9579 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.8457, allocations: 101 kB / 0.958 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05134/0.8971, allocations: 3.611 MB / 0.9616 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.8972, allocations: 12.91 kB / 0.9616 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.8974, allocations: 34 kB / 0.9616 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.8975, allocations: 31.81 kB / 0.9616 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.8977, allocations: 103.2 kB / 0.9617 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.8981, allocations: 206.9 kB / 0.9619 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8981, allocations: 4.969 kB / 0.9619 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8981, allocations: 0 / 0.9619 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.8981, allocations: 0 / 0.9619 GB, free: 3.762 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008672/0.899, allocations: 0.5147 MB / 0.9624 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.899, allocations: 9.312 kB / 0.9624 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.8991, allocations: 25.97 kB / 0.9625 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.8994, allocations: 236.6 kB / 0.9627 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.8995, allocations: 9.906 kB / 0.9627 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.8995, allocations: 18.97 kB / 0.9627 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.8997, allocations: 89.81 kB / 0.9628 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8997, allocations: 0 / 0.9628 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.8998, allocations: 9.016 kB / 0.9628 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.8998, allocations: 2.125 kB / 0.9628 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.8999, allocations: 59.92 kB / 0.9629 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008005/0.9007, allocations: 478.9 kB / 0.9633 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.9012, allocations: 148.3 kB / 0.9635 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.9013, allocations: 37.97 kB / 0.9635 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.9013, allocations: 1.5 kB / 0.9635 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.9015, allocations: 112.9 kB / 0.9636 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.9015, allocations: 0 / 0.9636 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003628/0.9019, allocations: 165.8 kB / 0.9638 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.9019, allocations: 54.81 kB / 0.9638 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.9021, allocations: 207.2 kB / 0.964 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.9022, allocations: 32.02 kB / 0.9641 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.9022, allocations: 119.3 kB / 0.9642 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.9023, allocations: 38.62 kB / 0.9642 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.9023, allocations: 28.8 kB / 0.9642 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.9024, allocations: 330.3 kB / 0.9646 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.9024, allocations: 34.14 kB / 0.9646 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.9027, allocations: 127.4 kB / 0.9647 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.9028, allocations: 111.2 kB / 0.9648 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9028, allocations: 0 / 0.9648 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002357/0.9031, allocations: 153.1 kB / 0.965 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9031, allocations: 5.281 kB / 0.965 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.9031, allocations: 5.25 kB / 0.965 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.9031, allocations: 6.875 kB / 0.965 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.9032, allocations: 27.8 kB / 0.965 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9032, allocations: 1.156 kB / 0.965 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.9034, allocations: 29.7 kB / 0.965 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.9035, allocations: 4.188 kB / 0.965 GB, free: 1.082 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001123/0.9036, allocations: 136.8 kB / 0.9652 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.9036, allocations: 26.98 kB / 0.9652 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.9037, allocations: 22.03 kB / 0.9652 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.9037, allocations: 1.844 kB / 0.9652 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.9037, allocations: 1.031 kB / 0.9652 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9037, allocations: 0 / 0.9652 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.9043, allocations: 0.4965 MB / 0.9657 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9043, allocations: 1.406 kB / 0.9657 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.9044, allocations: 2.719 kB / 0.9657 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9044, allocations: 1.344 kB / 0.9657 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.9044, allocations: 9.344 kB / 0.9657 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.9044, allocations: 9.078 kB / 0.9657 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9044, allocations: 0 / 0.9657 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.9046, allocations: 235 kB / 0.9659 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.9047, allocations: 105.1 kB / 0.966 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.9047, allocations: 1.562 kB / 0.966 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.9048, allocations: 23.33 kB / 0.9661 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.9049, allocations: 17.06 kB / 0.9661 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.905, allocations: 14.33 kB / 0.9661 GB, free: 148 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001238/0.9051, allocations: 141.7 kB / 0.9662 GB, free: 40 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9051, allocations: 0 / 0.9662 GB, free: 40 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003277/0.9054, allocations: 47.47 kB / 0.9663 GB, free: 28 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0006948/0.9061, allocations: 164.4 kB / 0.9664 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.9064, allocations: 99.31 kB / 0.9665 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.9064, allocations: 3.938 kB / 0.9665 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.9065, allocations: 49.08 kB / 0.9666 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.907, allocations: 56.83 kB / 0.9666 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.9076, allocations: 331.8 kB / 0.967 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.9079, allocations: 0.7175 MB / 0.9677 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.559e-05/0.908, allocations: 35.56 kB / 0.9677 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.9081, allocations: 19.56 kB / 0.9677 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/0.9081, allocations: 0 / 0.9677 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.00837/0.9165, allocations: 3.464 MB / 0.9711 GB, free: 13.09 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches