Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007012/0.007012, allocations: 101 kB / 15.87 MB, free: 6.301 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.001314/0.001314, allocations: 197.8 kB / 16.79 MB, free: 6.234 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.582/1.582, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.554/2.554, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6851/0.6865, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003182/0.6898, allocations: 1.785 MB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.691, allocations: 0.6202 MB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.6911, allocations: 0.6875 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.6914, allocations: 29 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.6917, allocations: 82.36 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.6921, allocations: 136.7 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.6924, allocations: 203.6 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.6925, allocations: 24.52 kB / 0.9524 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.6927, allocations: 96.52 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02195/0.7146, allocations: 1.428 MB / 0.9539 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.7147, allocations: 13.28 kB / 0.9539 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.7149, allocations: 35.06 kB / 0.9539 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.715, allocations: 31.25 kB / 0.9539 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.7151, allocations: 70.72 kB / 0.954 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.7153, allocations: 133.1 kB / 0.9541 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7153, allocations: 5.219 kB / 0.9541 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7153, allocations: 0 / 0.9541 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.7153, allocations: 0 / 0.9541 GB, free: 6.188 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007559/0.7161, allocations: 0.5265 MB / 0.9546 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.7162, allocations: 9 kB / 0.9547 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.546e-05/0.7163, allocations: 18.75 kB / 0.9547 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.7165, allocations: 232.8 kB / 0.9549 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.7165, allocations: 14.12 kB / 0.9549 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.7166, allocations: 17.03 kB / 0.9549 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.7168, allocations: 87.69 kB / 0.955 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7168, allocations: 0 / 0.955 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.7168, allocations: 1.469 kB / 0.955 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.7168, allocations: 5.531 kB / 0.955 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.465e-05/0.7169, allocations: 44.33 kB / 0.9551 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.7176, allocations: 441.7 kB / 0.9555 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.7178, allocations: 69.38 kB / 0.9555 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.7179, allocations: 30.56 kB / 0.9556 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.7179, allocations: 1.156 kB / 0.9556 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.718, allocations: 86.56 kB / 0.9557 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 2.395e-06/0.718, allocations: 0.9062 kB / 0.9557 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002778/0.7183, allocations: 133.5 kB / 0.9558 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.7184, allocations: 57.81 kB / 0.9558 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.7185, allocations: 191 kB / 0.956 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.7186, allocations: 33.33 kB / 0.9561 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.7187, allocations: 117.2 kB / 0.9562 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.7187, allocations: 31.19 kB / 0.9562 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.7188, allocations: 54.67 kB / 0.9562 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.7188, allocations: 326.3 kB / 0.9566 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.7189, allocations: 26.23 kB / 0.9566 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.7191, allocations: 116.5 kB / 0.9567 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.7192, allocations: 96.53 kB / 0.9568 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7192, allocations: 0 / 0.9568 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002238/0.7195, allocations: 129 kB / 0.9569 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7195, allocations: 11.75 kB / 0.9569 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7195, allocations: 9.328 kB / 0.9569 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.7195, allocations: 2.781 kB / 0.9569 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.7196, allocations: 21.2 kB / 0.957 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.7196, allocations: 2.594 kB / 0.957 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.7198, allocations: 17.2 kB / 0.957 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.7199, allocations: 8.25 kB / 0.957 GB, free: 3.617 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001071/0.72, allocations: 141.1 kB / 0.9571 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.72, allocations: 15.03 kB / 0.9571 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.72, allocations: 25.05 kB / 0.9572 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7201, allocations: 1.062 kB / 0.9572 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7201, allocations: 1.375 kB / 0.9572 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.7201, allocations: 0 / 0.9572 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.7205, allocations: 435.3 kB / 0.9576 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7205, allocations: 0 / 0.9576 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.7206, allocations: 6.938 kB / 0.9576 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7206, allocations: 5.281 kB / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.7206, allocations: 0 / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.7206, allocations: 0.8438 kB / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7206, allocations: 1.344 kB / 0.9576 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.7208, allocations: 210.5 kB / 0.9578 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.7208, allocations: 92.47 kB / 0.9579 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.7208, allocations: 5.188 kB / 0.9579 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.7209, allocations: 12.84 kB / 0.9579 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.721, allocations: 14.19 kB / 0.9579 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.7211, allocations: 13.03 kB / 0.9579 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.911e-05/0.7212, allocations: 139.7 kB / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7212, allocations: 0 / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003182/0.7215, allocations: 34.38 kB / 0.9581 GB, free: 2.625 MB / 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003389/0.7218, allocations: 168.5 kB / 0.9582 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.722, allocations: 76.72 kB / 0.9583 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7221, allocations: 4.25 kB / 0.9583 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.7221, allocations: 40.67 kB / 0.9584 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.7225, allocations: 46.44 kB / 0.9584 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.7231, allocations: 335.6 kB / 0.9587 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.7233, allocations: 0.7122 MB / 0.9594 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.7233, allocations: 22.25 kB / 0.9594 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7233, allocations: 1.312 kB / 0.9594 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of Templates: time 0.005631/0.729, allocations: 2.9 MB / 0.9623 GB, free: 15.94 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches