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.001149/0.001149, allocations: 108 kB / 15.61 MB, free: 152 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.001109/0.001109, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.567/2.567, allocations: 390.2 MB / 0.6647 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 75.88 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.82, allocations: 140.3 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003286/0.8234, allocations: 1.629 MB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.8245, allocations: 0.5728 MB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.8246, allocations: 1.281 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.8249, allocations: 30.19 kB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.8253, allocations: 103.5 kB / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.8256, allocations: 149.5 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.8259, allocations: 224.2 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.8261, allocations: 18.19 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.8262, allocations: 100.8 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008945/0.8352, allocations: 1.555 MB / 0.9538 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.8353, allocations: 20 kB / 0.9539 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.8355, allocations: 37.14 kB / 0.9539 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.8356, allocations: 31.03 kB / 0.9539 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.8358, allocations: 80.19 kB / 0.954 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.8362, allocations: 198.8 kB / 0.9542 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.8363, allocations: 1.5 kB / 0.9542 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8363, allocations: 0 / 0.9542 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.8363, allocations: 0 / 0.9542 GB, free: 6.273 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.000865/0.8372, allocations: 0.5227 MB / 0.9547 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8372, allocations: 9.812 kB / 0.9547 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.8373, allocations: 18.38 kB / 0.9547 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.8376, allocations: 238 kB / 0.9549 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.8377, allocations: 13.59 kB / 0.955 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.8377, allocations: 13.75 kB / 0.955 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.8379, allocations: 80.56 kB / 0.9551 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.8379, allocations: 3.938 kB / 0.9551 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.838, allocations: 4 kB / 0.9551 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.838, allocations: 7.844 kB / 0.9551 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.8381, allocations: 44.59 kB / 0.9551 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.8389, allocations: 438.6 kB / 0.9555 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.839, allocations: 69 kB / 0.9556 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.8391, allocations: 31.19 kB / 0.9556 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.8391, allocations: 5.766 kB / 0.9556 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.8394, allocations: 89.34 kB / 0.9557 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.8394, allocations: 0 / 0.9557 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0003598/0.8398, allocations: 135.2 kB / 0.9558 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.8398, allocations: 61.89 kB / 0.9559 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.8401, allocations: 189.9 kB / 0.9561 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.8401, allocations: 33.86 kB / 0.9561 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.8402, allocations: 116.6 kB / 0.9562 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.8402, allocations: 23.94 kB / 0.9562 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.8403, allocations: 65.59 kB / 0.9563 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.8404, allocations: 326.7 kB / 0.9566 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.8405, allocations: 27.33 kB / 0.9566 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.8407, allocations: 115.8 kB / 0.9568 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.8408, allocations: 88.17 kB / 0.9568 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8408, allocations: 1.344 kB / 0.9568 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002298/0.8411, allocations: 130.5 kB / 0.957 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8411, allocations: 8.094 kB / 0.957 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8411, allocations: 5.219 kB / 0.957 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.8411, allocations: 2.125 kB / 0.957 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.8412, allocations: 19.02 kB / 0.957 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.8413, allocations: 2 kB / 0.957 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.8414, allocations: 25.64 kB / 0.957 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.8415, allocations: 3.719 kB / 0.957 GB, free: 3.703 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.0001102/0.8416, allocations: 137.5 kB / 0.9572 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.8416, allocations: 11.38 kB / 0.9572 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.8416, allocations: 20.48 kB / 0.9572 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.8416, allocations: 1.75 kB / 0.9572 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8417, allocations: 0 / 0.9572 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8417, allocations: 3.938 kB / 0.9572 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.8422, allocations: 435.6 kB / 0.9576 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8422, allocations: 4 kB / 0.9576 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.8422, allocations: 2.156 kB / 0.9576 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8422, allocations: 1.156 kB / 0.9576 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.8422, allocations: 1.031 kB / 0.9576 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8422, allocations: 0.8438 kB / 0.9576 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8422, allocations: 0.875 kB / 0.9576 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.8424, allocations: 214.1 kB / 0.9578 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.8425, allocations: 93.03 kB / 0.9579 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.8425, allocations: 1.094 kB / 0.9579 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.8426, allocations: 12.17 kB / 0.9579 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.8427, allocations: 10.23 kB / 0.9579 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.8427, allocations: 5.344 kB / 0.9579 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001085/0.8428, allocations: 143.4 kB / 0.9581 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8428, allocations: 4 kB / 0.9581 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002922/0.8431, allocations: 39.62 kB / 0.9581 GB, free: 2.723 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.0003612/0.8435, allocations: 167.8 kB / 0.9583 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.8437, allocations: 99.34 kB / 0.9584 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8438, allocations: 0 / 0.9584 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.8438, allocations: 35.36 kB / 0.9584 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.8442, allocations: 49.88 kB / 0.9585 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.8448, allocations: 276.4 kB / 0.9587 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.8451, allocations: 0.7157 MB / 0.9594 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.126e-05/0.8451, allocations: 21.05 kB / 0.9594 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.8452, allocations: 22.42 kB / 0.9595 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8452, allocations: 1.125 kB / 0.9595 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of Templates: time 0.008093/0.8533, allocations: 3.281 MB / 0.9627 GB, free: 15.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches