Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8912/0.8912, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.708/1.708, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 4 kB / 0.9504 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.358e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002182/0.002206, allocations: 1.634 MB / 0.952 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.002998, allocations: 0.5659 MB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.003056, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.003232, allocations: 35.64 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.003532, allocations: 115.4 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.003792, allocations: 143.7 kB / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.004014, allocations: 223.4 kB / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.004133, allocations: 17.75 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.004261, allocations: 131.8 kB / 0.9532 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004689/0.00895, allocations: 1.561 MB / 0.9548 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.009003, allocations: 16 kB / 0.9548 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.009102, allocations: 43.91 kB / 0.9548 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.009162, allocations: 31.86 kB / 0.9549 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.009236, allocations: 59.81 kB / 0.9549 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.009529, allocations: 211.4 kB / 0.9551 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.009534, allocations: 4 kB / 0.9551 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.009535, allocations: 0 / 0.9551 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.00954, allocations: 0 / 0.9551 GB, free: 15.15 MB / 0.9167 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.0005647/0.0101, allocations: 460.8 kB / 0.9556 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01014, allocations: 12.03 kB / 0.9556 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.01018, allocations: 42.73 kB / 0.9556 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.01023, allocations: 20.84 kB / 0.9556 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.01044, allocations: 173.5 kB / 0.9558 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.01046, allocations: 8.375 kB / 0.9558 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.01048, allocations: 16.12 kB / 0.9558 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.01062, allocations: 81.66 kB / 0.9559 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.01063, allocations: 0 / 0.9559 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.01064, allocations: 3.938 kB / 0.9559 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.01064, allocations: 3.984 kB / 0.9559 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.01072, allocations: 39.98 kB / 0.9559 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.01134, allocations: 383.6 kB / 0.9563 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.01148, allocations: 70.48 kB / 0.9564 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.01152, allocations: 24.84 kB / 0.9564 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.01154, allocations: 0 / 0.9564 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.01167, allocations: 91.31 kB / 0.9565 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.01168, allocations: 0 / 0.9565 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0002396/0.01192, allocations: 133.7 kB / 0.9566 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.01195, allocations: 59.33 kB / 0.9567 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.01209, allocations: 191.2 kB / 0.9568 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.01211, allocations: 37.64 kB / 0.9569 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.01218, allocations: 119.9 kB / 0.957 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.0122, allocations: 19.86 kB / 0.957 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.01225, allocations: 53.67 kB / 0.9571 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.01234, allocations: 326.8 kB / 0.9574 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.01238, allocations: 31.89 kB / 0.9574 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.01257, allocations: 230.5 kB / 0.9576 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.422e-05/0.01265, allocations: 92.16 kB / 0.9577 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01266, allocations: 0 / 0.9577 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001504/0.01281, allocations: 133.5 kB / 0.9578 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01282, allocations: 6.188 kB / 0.9579 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01283, allocations: 4 kB / 0.9579 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.01284, allocations: 0 / 0.9579 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.0129, allocations: 28 kB / 0.9579 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.01291, allocations: 7.984 kB / 0.9579 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.162e-05/0.013, allocations: 15.94 kB / 0.9579 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.01301, allocations: 8 kB / 0.9579 GB, free: 12.01 MB / 0.9167 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 8.804e-05/0.0131, allocations: 137.5 kB / 0.958 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.01312, allocations: 15.86 kB / 0.9581 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.01315, allocations: 17.47 kB / 0.9581 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01315, allocations: 4 kB / 0.9581 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01315, allocations: 7.922 kB / 0.9581 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01316, allocations: 4 kB / 0.9581 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.01351, allocations: 389.4 kB / 0.9585 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.01351, allocations: 3.938 kB / 0.9585 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.01353, allocations: 4 kB / 0.9585 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01353, allocations: 0 / 0.9585 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.01354, allocations: 4 kB / 0.9585 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01354, allocations: 4 kB / 0.9585 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01354, allocations: 0 / 0.9585 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.01367, allocations: 211.2 kB / 0.9587 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.01368, allocations: 15.84 kB / 0.9587 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.0137, allocations: 8 kB / 0.9587 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.01375, allocations: 7.984 kB / 0.9587 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.0138, allocations: 15.98 kB / 0.9587 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.01381, allocations: 4 kB / 0.9587 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.805e-05/0.01389, allocations: 141.7 kB / 0.9589 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01389, allocations: 0 / 0.9589 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001987/0.01409, allocations: 32 kB / 0.9589 GB, free: 10.93 MB / 0.9167 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.000523/0.01461, allocations: 0.8258 MB / 0.9597 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.01476, allocations: 72.09 kB / 0.9598 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01477, allocations: 4.062 kB / 0.9598 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.01481, allocations: 28 kB / 0.9598 GB, free: 10 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01508, allocations: 52.45 kB / 0.9598 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.01649, allocations: 1.789 MB / 0.9616 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.486e-05/0.01656, allocations: 102.3 kB / 0.9617 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.81e-05/0.01662, allocations: 21.47 kB / 0.9617 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.01668, allocations: 48.48 kB / 0.9618 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of SimCode: time 7.22e-07/0.01668, allocations: 0 / 0.9618 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.03641, allocations: 5.968 MB / 0.9676 GB, free: 2.094 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.105, allocations: 6.688 kB / 0.9676 GB, free: 2.09 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.115494313649833]