Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007736/0.007736, allocations: 96.02 kB / 15.73 MB, free: 6.039 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.001888/0.001888, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.774/2.774, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.12 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3366, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003015/0.3397, allocations: 1.747 MB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3412, allocations: 0.9007 MB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.3413, allocations: 3.938 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.3414, allocations: 23.67 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.3418, allocations: 123.4 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3421, allocations: 155.7 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.3424, allocations: 235.4 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3425, allocations: 25.66 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3427, allocations: 119.6 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01014/0.3528, allocations: 1.7 MB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3529, allocations: 19.94 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.3531, allocations: 39.98 kB / 1.226 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.3532, allocations: 35.91 kB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3533, allocations: 95.5 kB / 1.226 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.3538, allocations: 219.1 kB / 1.226 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3538, allocations: 4 kB / 1.226 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3538, allocations: 0 / 1.226 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.3538, allocations: 0 / 1.226 GB, free: 8.863 MB / 0.9825 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.0009601/0.3548, allocations: 0.5525 MB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3548, allocations: 12.03 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3549, allocations: 16.84 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.3552, allocations: 255.5 kB / 1.227 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3552, allocations: 12 kB / 1.227 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.3553, allocations: 12 kB / 1.227 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3555, allocations: 91.36 kB / 1.227 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3555, allocations: 3.938 kB / 1.227 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3555, allocations: 8 kB / 1.227 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3555, allocations: 0 / 1.227 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.3556, allocations: 55.92 kB / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/0.3564, allocations: 456.5 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.3569, allocations: 138.7 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/0.3569, allocations: 32.83 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.357, allocations: 4 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3572, allocations: 115.3 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.3572, allocations: 0 / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003683/0.3576, allocations: 161.1 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3576, allocations: 67.33 kB / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.3578, allocations: 204.3 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.3579, allocations: 33.7 kB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.358, allocations: 116.5 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.358, allocations: 39.69 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.3581, allocations: 57.67 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3582, allocations: 330.8 kB / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.3583, allocations: 27.98 kB / 1.229 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3585, allocations: 141 kB / 1.229 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3586, allocations: 104.1 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3587, allocations: 4 kB / 1.229 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000264/0.3589, allocations: 147.8 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3589, allocations: 11.94 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3589, allocations: 0 / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.359, allocations: 4 kB / 1.229 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.359, allocations: 15.98 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.359, allocations: 3.938 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.3593, allocations: 32 kB / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3593, allocations: 8 kB / 1.229 GB, free: 5.363 MB / 0.9825 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.0001354/0.3594, allocations: 140 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.3594, allocations: 15.91 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.3595, allocations: 21.88 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3595, allocations: 0 / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3595, allocations: 0 / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3595, allocations: 3.984 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.3602, allocations: 498.1 kB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3602, allocations: 0 / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.3602, allocations: 7.938 kB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3602, allocations: 0 / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3602, allocations: 7.984 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3602, allocations: 3.938 kB / 1.23 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3602, allocations: 0 / 1.23 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3605, allocations: 231.4 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.3605, allocations: 93 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.3605, allocations: 0 / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3607, allocations: 19.92 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.3607, allocations: 19.97 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3608, allocations: 12 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001194/0.3609, allocations: 148.2 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3609, allocations: 4 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000317/0.3612, allocations: 51.88 kB / 1.23 GB, free: 4.012 MB / 0.9825 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.0003295/0.3615, allocations: 168.9 kB / 1.23 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3618, allocations: 103.3 kB / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3618, allocations: 0 / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.3619, allocations: 47.92 kB / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.3623, allocations: 56.58 kB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.363, allocations: 322.9 kB / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3632, allocations: 0.7203 MB / 1.232 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.13e-05/0.3633, allocations: 33.47 kB / 1.232 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.3634, allocations: 19.44 kB / 1.232 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3634, allocations: 0 / 1.232 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of Templates: time 0.008188/0.3715, allocations: 3.745 MB / 1.235 GB, free: 14.82 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches