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.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.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.001115/0.001115, allocations: 107 kB / 15.99 MB, free: 5.895 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.001113/0.001114, allocations: 188.4 kB / 16.91 MB, free: 5.746 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.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.308/2.308, allocations: 390.3 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 62.84 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.284, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003646/0.2877, allocations: 1.788 MB / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.289, allocations: 0.6084 MB / 0.9521 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2891, allocations: 3.938 kB / 0.9521 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.2894, allocations: 15.86 kB / 0.9521 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.2898, allocations: 95.67 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.2902, allocations: 139.7 kB / 0.9523 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.2905, allocations: 215.5 kB / 0.9525 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2907, allocations: 21.56 kB / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.291, allocations: 103.7 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02073/0.3117, allocations: 1.549 MB / 0.9542 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.3118, allocations: 16 kB / 0.9542 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.312, allocations: 43.98 kB / 0.9542 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.3121, allocations: 35.84 kB / 0.9543 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3122, allocations: 87.5 kB / 0.9544 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.3125, allocations: 131.8 kB / 0.9545 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3125, allocations: 0 / 0.9545 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3125, allocations: 0 / 0.9545 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.3125, allocations: 0 / 0.9545 GB, free: 4.789 MB / 0.7325 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.0007806/0.3133, allocations: 0.5215 MB / 0.955 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3134, allocations: 8.031 kB / 0.955 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.3134, allocations: 20.75 kB / 0.955 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.3138, allocations: 239.9 kB / 0.9552 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3138, allocations: 19.94 kB / 0.9553 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.3138, allocations: 11.98 kB / 0.9553 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.314, allocations: 76.2 kB / 0.9553 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.314, allocations: 0 / 0.9553 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.314, allocations: 8 kB / 0.9554 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3141, allocations: 0 / 0.9554 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.3142, allocations: 43.97 kB / 0.9554 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008084/0.315, allocations: 448.3 kB / 0.9558 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3151, allocations: 66.53 kB / 0.9559 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.3152, allocations: 28.86 kB / 0.9559 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3152, allocations: 7.984 kB / 0.9559 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.3154, allocations: 91.5 kB / 0.956 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.3154, allocations: 0 / 0.956 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0003093/0.3157, allocations: 133.7 kB / 0.9561 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3158, allocations: 55.41 kB / 0.9562 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.316, allocations: 187 kB / 0.9564 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.316, allocations: 29.7 kB / 0.9564 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.3161, allocations: 127.9 kB / 0.9565 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3162, allocations: 23.8 kB / 0.9565 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/0.3163, allocations: 53.67 kB / 0.9566 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3164, allocations: 326.8 kB / 0.9569 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.3164, allocations: 27.92 kB / 0.9569 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.3167, allocations: 117.7 kB / 0.957 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3168, allocations: 90.91 kB / 0.9571 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3168, allocations: 0 / 0.9571 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000226/0.3171, allocations: 141.4 kB / 0.9573 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3171, allocations: 4 kB / 0.9573 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3171, allocations: 3.938 kB / 0.9573 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3171, allocations: 4 kB / 0.9573 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.3172, allocations: 15.94 kB / 0.9573 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3172, allocations: 3.938 kB / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3174, allocations: 23.83 kB / 0.9573 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3174, allocations: 12 kB / 0.9573 GB, free: 1.59 MB / 0.7325 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.0001348/0.3176, allocations: 137.7 kB / 0.9575 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.3176, allocations: 15.81 kB / 0.9575 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.3177, allocations: 17.34 kB / 0.9575 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3177, allocations: 0 / 0.9575 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3177, allocations: 4 kB / 0.9575 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3177, allocations: 3.984 kB / 0.9575 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.3182, allocations: 438.2 kB / 0.9579 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3182, allocations: 0 / 0.9579 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.3183, allocations: 8 kB / 0.9579 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3183, allocations: 7.922 kB / 0.9579 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3183, allocations: 0 / 0.9579 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3183, allocations: 3.984 kB / 0.9579 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3183, allocations: 0 / 0.9579 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3185, allocations: 199.4 kB / 0.9581 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3186, allocations: 92.86 kB / 0.9582 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3186, allocations: 4 kB / 0.9582 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.3187, allocations: 15.98 kB / 0.9582 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3187, allocations: 7.984 kB / 0.9582 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.3188, allocations: 7.984 kB / 0.9583 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001102/0.3189, allocations: 145.1 kB / 0.9584 GB, free: 416 kB / 0.7325 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3189, allocations: 0 / 0.9584 GB, free: 416 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003154/0.3192, allocations: 39.98 kB / 0.9584 GB, free: 376 kB / 0.7325 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.0003406/0.3196, allocations: 165.1 kB / 0.9586 GB, free: 224 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.3198, allocations: 86.22 kB / 0.9587 GB, free: 140 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3198, allocations: 0 / 0.9587 GB, free: 140 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.3199, allocations: 39.92 kB / 0.9587 GB, free: 100 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3203, allocations: 55.27 kB / 0.9588 GB, free: 48 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.3209, allocations: 329.2 kB / 0.9591 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3212, allocations: 0.7239 MB / 0.9598 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.3213, allocations: 23.42 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3213, allocations: 0 / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of Templates: time 0.005668/0.327, allocations: 2.907 MB / 0.9626 GB, free: 12.02 MB / 0.7481 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