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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001102/0.001102, allocations: 194.4 kB / 16.14 MB, free: 6.703 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.372/2.372, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7011, allocations: 140.4 MB / 0.949 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002467/0.7036, allocations: 1.781 MB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.7044, allocations: 0.6203 MB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.7045, allocations: 7.875 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.7047, allocations: 24.61 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.7049, allocations: 90.16 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.7052, allocations: 137.5 kB / 0.9516 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.7053, allocations: 198.2 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.7054, allocations: 25.91 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.7055, allocations: 91.02 kB / 0.9519 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01982/0.7254, allocations: 1.44 MB / 0.9533 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.7255, allocations: 8.188 kB / 0.9533 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.7256, allocations: 26.66 kB / 0.9534 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.7257, allocations: 31.23 kB / 0.9534 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.7258, allocations: 80.2 kB / 0.9535 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.7262, allocations: 189 kB / 0.9536 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7262, allocations: 1.219 kB / 0.9536 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.7262, allocations: 0 / 0.9536 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.7262, allocations: 0 / 0.9536 GB, free: 6.102 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.000847/0.727, allocations: 0.5195 MB / 0.9542 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.7271, allocations: 8.438 kB / 0.9542 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.7272, allocations: 41.92 kB / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.962e-05/0.7273, allocations: 26.69 kB / 0.9542 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.7276, allocations: 240.2 kB / 0.9545 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.7277, allocations: 9.375 kB / 0.9545 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.7277, allocations: 13.48 kB / 0.9545 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.7279, allocations: 78.38 kB / 0.9546 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7279, allocations: 0 / 0.9546 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.728, allocations: 9.547 kB / 0.9546 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.728, allocations: 1.438 kB / 0.9546 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.7281, allocations: 43.17 kB / 0.9546 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.729, allocations: 438.7 kB / 0.955 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.7292, allocations: 70.11 kB / 0.9551 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.7293, allocations: 30.23 kB / 0.9551 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.7293, allocations: 7.688 kB / 0.9551 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.7294, allocations: 87.61 kB / 0.9552 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.7294, allocations: 3.5 kB / 0.9552 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0003145/0.7298, allocations: 127.5 kB / 0.9553 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.7298, allocations: 58.2 kB / 0.9554 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.73, allocations: 190.3 kB / 0.9556 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.7301, allocations: 41.09 kB / 0.9556 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.7302, allocations: 116.3 kB / 0.9557 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.7302, allocations: 24.53 kB / 0.9557 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.7303, allocations: 57.86 kB / 0.9558 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.7304, allocations: 326.2 kB / 0.9561 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.7304, allocations: 26.77 kB / 0.9561 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.7306, allocations: 115.1 kB / 0.9562 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.7308, allocations: 91.5 kB / 0.9563 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7308, allocations: 1.094 kB / 0.9563 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002533/0.731, allocations: 141.4 kB / 0.9565 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7311, allocations: 8.781 kB / 0.9565 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7311, allocations: 5.062 kB / 0.9565 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7311, allocations: 2.625 kB / 0.9565 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.7312, allocations: 13.78 kB / 0.9565 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7312, allocations: 6.734 kB / 0.9565 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.7314, allocations: 17.03 kB / 0.9565 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.7314, allocations: 4.062 kB / 0.9565 GB, free: 3.496 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.0001017/0.7315, allocations: 141 kB / 0.9567 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.7316, allocations: 16.31 kB / 0.9567 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.7316, allocations: 15.52 kB / 0.9567 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7316, allocations: 5.984 kB / 0.9567 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7316, allocations: 3.984 kB / 0.9567 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.7316, allocations: 1.969 kB / 0.9567 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.7321, allocations: 430.1 kB / 0.9571 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7321, allocations: 0 / 0.9571 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.7321, allocations: 14.8 kB / 0.9571 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7321, allocations: 5.281 kB / 0.9571 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.7322, allocations: 4 kB / 0.9571 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7322, allocations: 1.219 kB / 0.9571 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7322, allocations: 0 / 0.9571 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.7324, allocations: 203.9 kB / 0.9573 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.7324, allocations: 91.67 kB / 0.9574 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.7324, allocations: 6.609 kB / 0.9574 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.7325, allocations: 3.031 kB / 0.9574 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.7326, allocations: 13.92 kB / 0.9574 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.7326, allocations: 9.297 kB / 0.9575 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001321/0.7328, allocations: 135.9 kB / 0.9576 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7328, allocations: 0 / 0.9576 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00034/0.7331, allocations: 42.86 kB / 0.9576 GB, free: 2.512 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.0007878/0.7339, allocations: 0.8189 MB / 0.9584 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.7342, allocations: 81.34 kB / 0.9585 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7342, allocations: 1.375 kB / 0.9585 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.7343, allocations: 39.3 kB / 0.9585 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.7347, allocations: 44.7 kB / 0.9586 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.7364, allocations: 1.8 MB / 0.9603 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.7367, allocations: 0.7196 MB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.66e-05/0.7368, allocations: 17.39 kB / 0.9611 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.7369, allocations: 45.69 kB / 0.9611 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7369, allocations: 0 / 0.9611 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.7532, allocations: 4.671 MB / 0.9657 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.7535, allocations: 262.9 kB / 0.9659 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.809, allocations: 3.938 kB / 0.9659 GB, free: 12.7 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > 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