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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001982/0.001982, allocations: 71.89 kB / 1.104 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.8526, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003292/0.8559, allocations: 1.65 MB / 1.27 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.8571, allocations: 0.567 MB / 1.271 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.8572, allocations: 4 kB / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.8574, allocations: 35.72 kB / 1.271 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.8577, allocations: 107.5 kB / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.8581, allocations: 143.7 kB / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.8585, allocations: 223.4 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.8586, allocations: 21.53 kB / 1.271 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.8587, allocations: 91.75 kB / 1.271 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01281/0.8715, allocations: 1.58 MB / 1.273 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.8716, allocations: 16 kB / 1.273 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.8717, allocations: 39.98 kB / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.8718, allocations: 39.89 kB / 1.273 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.8719, allocations: 79.58 kB / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.8723, allocations: 195.3 kB / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8723, allocations: 0 / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8723, allocations: 0 / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.8723, allocations: 0 / 1.273 GB, free: 0.8203 MB / 0.9669 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.0008655/0.8732, allocations: 0.5292 MB / 1.274 GB, free: 236 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.8732, allocations: 12.03 kB / 1.274 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.8733, allocations: 34.75 kB / 1.274 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.8734, allocations: 24.84 kB / 1.274 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.8737, allocations: 252.2 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.8738, allocations: 8 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.8738, allocations: 12 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.874, allocations: 80.47 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.874, allocations: 8 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.874, allocations: 4 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.874, allocations: 0 / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.8741, allocations: 43.97 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.8749, allocations: 432.4 kB / 1.275 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.8751, allocations: 70.55 kB / 1.275 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.8751, allocations: 25.03 kB / 1.275 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.8751, allocations: 3.938 kB / 1.275 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.8754, allocations: 91.31 kB / 1.275 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.8754, allocations: 0 / 1.275 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.000309/0.8757, allocations: 129.8 kB / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.8757, allocations: 55.41 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.876, allocations: 199.6 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.876, allocations: 33.7 kB / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.8761, allocations: 112.1 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.8761, allocations: 23.94 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.8762, allocations: 57.61 kB / 1.276 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.8764, allocations: 326.8 kB / 1.276 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.8765, allocations: 27.98 kB / 1.276 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.8767, allocations: 118.6 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.8768, allocations: 90.3 kB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8768, allocations: 0 / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002522/0.8771, allocations: 141.4 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8771, allocations: 11.94 kB / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8771, allocations: 0 / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8771, allocations: 4 kB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-05/0.8772, allocations: 15.92 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8772, allocations: 4 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.8774, allocations: 24.05 kB / 1.276 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.8774, allocations: 4 kB / 1.276 GB, free: 13.58 MB / 0.9825 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.0001372/0.8776, allocations: 125.8 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.8776, allocations: 27.8 kB / 1.276 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.8777, allocations: 17.39 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.8777, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.8777, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8777, allocations: 0 / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.8783, allocations: 450.3 kB / 1.277 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8783, allocations: 0 / 1.277 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.8783, allocations: 7.938 kB / 1.277 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8783, allocations: 0 / 1.277 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.8783, allocations: 8 kB / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8783, allocations: 0 / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8783, allocations: 3.984 kB / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.8785, allocations: 207.4 kB / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.8786, allocations: 96.94 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.8786, allocations: 0 / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.8787, allocations: 7.984 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.8788, allocations: 15.98 kB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.8788, allocations: 4 kB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001348/0.879, allocations: 137.1 kB / 1.277 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.879, allocations: 4 kB / 1.277 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003443/0.8793, allocations: 36 kB / 1.277 GB, free: 12.34 MB / 0.9825 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.000844/0.8801, allocations: 0.797 MB / 1.278 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.8804, allocations: 79.84 kB / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8804, allocations: 0 / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.8804, allocations: 39.92 kB / 1.278 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.8808, allocations: 53.05 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.883, allocations: 1.779 MB / 1.28 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.8834, allocations: 0.7163 MB / 1.281 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.367e-05/0.8835, allocations: 25.47 kB / 1.281 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.8836, allocations: 43.42 kB / 1.281 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.8836, allocations: 0 / 1.281 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.9177, allocations: 5.032 MB / 1.286 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/9.23, allocations: 19.56 kB / 1.286 GB, free: 3.801 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.504291027318686]