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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009918/0.0009918, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.469/1.469, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.6722, allocations: 142.4 MB / 0.9557 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.001832/0.6741, allocations: 1.535 MB / 0.9572 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.6755, allocations: 0.9335 MB / 0.9581 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.6756, allocations: 1.125 kB / 0.9581 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.6758, allocations: 28.53 kB / 0.9581 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.6761, allocations: 94.94 kB / 0.9582 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.6764, allocations: 137.2 kB / 0.9584 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.6767, allocations: 224.9 kB / 0.9586 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.6768, allocations: 50.69 kB / 0.9586 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.677, allocations: 101.3 kB / 0.9587 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04942/0.7264, allocations: 3.269 MB / 0.9619 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.914e-05/0.7265, allocations: 7.875 kB / 0.9619 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.7267, allocations: 29.7 kB / 0.9619 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.7268, allocations: 39.94 kB / 0.962 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.7269, allocations: 104.1 kB / 0.9621 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.7271, allocations: 145 kB / 0.9622 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7272, allocations: 3.938 kB / 0.9622 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7272, allocations: 0 / 0.9622 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.7272, allocations: 1.25 kB / 0.9622 GB, free: 3.969 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007802/0.728, allocations: 0.5263 MB / 0.9627 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.728, allocations: 8.438 kB / 0.9627 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.7281, allocations: 19.97 kB / 0.9628 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.7284, allocations: 238.9 kB / 0.963 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.7284, allocations: 6.438 kB / 0.963 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.7285, allocations: 19.14 kB / 0.963 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.7287, allocations: 123.8 kB / 0.9631 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.7287, allocations: 1.312 kB / 0.9631 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.7287, allocations: 1.281 kB / 0.9631 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7288, allocations: 1.344 kB / 0.9631 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.7289, allocations: 53.72 kB / 0.9632 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.7297, allocations: 0.5534 MB / 0.9637 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.7299, allocations: 103.6 kB / 0.9638 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.7299, allocations: 39.17 kB / 0.9639 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.73, allocations: 3.938 kB / 0.9639 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.7301, allocations: 121.1 kB / 0.964 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.7301, allocations: 4.875 kB / 0.964 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003364/0.7305, allocations: 159.4 kB / 0.9641 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.7305, allocations: 91.91 kB / 0.9642 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.7307, allocations: 200.4 kB / 0.9644 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.7308, allocations: 33.23 kB / 0.9644 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.7308, allocations: 126.5 kB / 0.9646 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.7309, allocations: 33.56 kB / 0.9646 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.7309, allocations: 29.36 kB / 0.9646 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.731, allocations: 334.9 kB / 0.9649 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.731, allocations: 30.55 kB / 0.965 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.7313, allocations: 141.2 kB / 0.9651 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.7314, allocations: 116.3 kB / 0.9652 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.7314, allocations: 1.312 kB / 0.9652 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002546/0.7317, allocations: 159.9 kB / 0.9654 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7317, allocations: 5.656 kB / 0.9654 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.7317, allocations: 9.328 kB / 0.9654 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7317, allocations: 2.969 kB / 0.9654 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.7318, allocations: 19.64 kB / 0.9654 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7318, allocations: 3.625 kB / 0.9654 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.7321, allocations: 28.95 kB / 0.9654 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.7321, allocations: 5.125 kB / 0.9654 GB, free: 1.074 MB / 0.7169 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.0001089/0.7322, allocations: 153.1 kB / 0.9656 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.7323, allocations: 15.66 kB / 0.9656 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.7323, allocations: 19.03 kB / 0.9656 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7323, allocations: 8.359 kB / 0.9656 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7323, allocations: 0 / 0.9656 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7323, allocations: 96 / 0.9656 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.7329, allocations: 474.7 kB / 0.9661 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7329, allocations: 4.938 kB / 0.9661 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.7329, allocations: 3.969 kB / 0.9661 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.7329, allocations: 1.031 kB / 0.9661 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.733, allocations: 5 kB / 0.9661 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.733, allocations: 5.938 kB / 0.9661 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.733, allocations: 0 / 0.9661 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.7332, allocations: 240.6 kB / 0.9663 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.7332, allocations: 90.02 kB / 0.9664 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.7332, allocations: 8.953 kB / 0.9664 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.7334, allocations: 20.55 kB / 0.9665 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.7335, allocations: 27.97 kB / 0.9665 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.7335, allocations: 5.844 kB / 0.9665 GB, free: 148 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001089/0.7336, allocations: 145.2 kB / 0.9666 GB, free: 36 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7336, allocations: 0.9688 kB / 0.9666 GB, free: 36 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003431/0.734, allocations: 43.22 kB / 0.9667 GB, free: 28 kB / 0.7169 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.0003902/0.7344, allocations: 169.4 kB / 0.9668 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.7346, allocations: 96.19 kB / 0.9669 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.7346, allocations: 1.281 kB / 0.9669 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.7347, allocations: 59.31 kB / 0.967 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.7352, allocations: 53.27 kB / 0.967 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.7359, allocations: 376 kB / 0.9674 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.7362, allocations: 0.729 MB / 0.9681 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.7363, allocations: 23.67 kB / 0.9681 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.7363, allocations: 0.9375 kB / 0.9681 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of Templates: time 0.007072/0.7434, allocations: 3.184 MB / 0.9712 GB, free: 13.14 MB / 0.7325 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