Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009679/0.009679, allocations: 99.81 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.001993/0.001993, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 1.018 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8718/0.8732, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003622/0.8769, allocations: 1.747 MB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.8784, allocations: 0.8968 MB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.8785, allocations: 4 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.8787, allocations: 31.72 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.8791, allocations: 127.4 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.8794, allocations: 148.3 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.8797, allocations: 235.4 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.8799, allocations: 37.66 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.8801, allocations: 115.6 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009919/0.89, allocations: 1.699 MB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.262e-05/0.8901, allocations: 20 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.8902, allocations: 32 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.778e-05/0.8903, allocations: 47.77 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.8904, allocations: 95.56 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.8908, allocations: 222.6 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.8909, allocations: 0 / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8909, allocations: 3.938 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.8909, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 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.001023/0.8919, allocations: 0.5526 MB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.892, allocations: 8.922 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.538e-05/0.8921, allocations: 20.84 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.8924, allocations: 244.2 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.8924, allocations: 15.94 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.8925, allocations: 8 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.8927, allocations: 93.64 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.8927, allocations: 4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.8927, allocations: 4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.8927, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.8928, allocations: 51.91 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.8936, allocations: 464.4 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.894, allocations: 138.7 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.8941, allocations: 36.84 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.8941, allocations: 0 / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.8944, allocations: 115.4 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.8944, allocations: 0 / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003523/0.8948, allocations: 165.5 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.8948, allocations: 63.33 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.895, allocations: 212.6 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.8951, allocations: 29.7 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.8952, allocations: 120.5 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.8952, allocations: 35.73 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.8953, allocations: 61.67 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8954, allocations: 326.8 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.8955, allocations: 31.98 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.8958, allocations: 132.7 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.8959, allocations: 96.22 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.8959, allocations: 0 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002528/0.8962, allocations: 159.2 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8962, allocations: 12 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8962, allocations: 0 / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8962, allocations: 0 / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.8963, allocations: 19.92 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.8963, allocations: 4 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.8965, allocations: 23.94 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.8966, allocations: 4 kB / 1.175 GB, free: 11.41 MB / 0.9044 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.0001523/0.8967, allocations: 155.4 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.8967, allocations: 19.89 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.8968, allocations: 17.88 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.8968, allocations: 4 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8968, allocations: 0 / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8968, allocations: 0 / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.8975, allocations: 0.4935 MB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8975, allocations: 0 / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.8975, allocations: 8 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8975, allocations: 0 / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.8976, allocations: 0 / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.8976, allocations: 11.92 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8976, allocations: 0 / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.8978, allocations: 231.2 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.8979, allocations: 96.94 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.8979, allocations: 0 / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.898, allocations: 23.92 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.8981, allocations: 19.97 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.8981, allocations: 4 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001512/0.8983, allocations: 143.2 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8983, allocations: 0 / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00031/0.8986, allocations: 47.89 kB / 1.176 GB, free: 10.05 MB / 0.9044 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.0003706/0.899, allocations: 173.5 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.8992, allocations: 116.2 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8993, allocations: 0 / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.753e-05/0.8993, allocations: 47.98 kB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.8998, allocations: 64.08 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.9004, allocations: 310.9 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.9008, allocations: 0.7244 MB / 1.178 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.984e-05/0.9009, allocations: 25.47 kB / 1.178 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.901, allocations: 27.42 kB / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.901, allocations: 0 / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of Templates: time 0.007679/0.9086, allocations: 3.736 MB / 1.181 GB, free: 4.855 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches