Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001677/0.001677, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.00154/0.00154, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.503/1.503, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 497.2 MB / 0.7812 GB, free: 12.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 60.14 kB / 1.134 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002472/1.028, allocations: 1.643 MB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000876/1.029, allocations: 0.5695 MB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/1.029, allocations: 3.938 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000183/1.029, allocations: 29.27 kB / 1.306 GB, free: 30.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/1.029, allocations: 116.9 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/1.03, allocations: 143.6 kB / 1.306 GB, free: 30.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/1.03, allocations: 219.5 kB / 1.307 GB, free: 30.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/1.03, allocations: 19.73 kB / 1.307 GB, free: 30.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/1.03, allocations: 96.27 kB / 1.307 GB, free: 30.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/1.044, allocations: 1.583 MB / 1.308 GB, free: 29.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/1.044, allocations: 18.25 kB / 1.308 GB, free: 29.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/1.044, allocations: 35.38 kB / 1.308 GB, free: 29.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.985e-05/1.044, allocations: 49.75 kB / 1.308 GB, free: 29.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/1.045, allocations: 70.98 kB / 1.308 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/1.045, allocations: 197.7 kB / 1.309 GB, free: 29.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.045, allocations: 0 / 1.309 GB, free: 29.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.764e-06/1.045, allocations: 0 / 1.309 GB, free: 29.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.045, allocations: 0 / 1.309 GB, free: 29.72 MB / 1.061 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.000895/1.046, allocations: 0.5316 MB / 1.309 GB, free: 29.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.046, allocations: 9.062 kB / 1.309 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/1.046, allocations: 41.08 kB / 1.309 GB, free: 29.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/1.046, allocations: 17.94 kB / 1.309 GB, free: 29.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/1.046, allocations: 249.8 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.046, allocations: 9.281 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/1.046, allocations: 16.66 kB / 1.309 GB, free: 28.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/1.047, allocations: 77.3 kB / 1.31 GB, free: 28.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.047, allocations: 4 kB / 1.31 GB, free: 28.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.047, allocations: 4 kB / 1.31 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/1.047, allocations: 6.844 kB / 1.31 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/1.047, allocations: 41.39 kB / 1.31 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/1.048, allocations: 441 kB / 1.31 GB, free: 28.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/1.048, allocations: 66.98 kB / 1.31 GB, free: 28.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/1.048, allocations: 23.83 kB / 1.31 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/1.048, allocations: 0 / 1.31 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/1.048, allocations: 95.58 kB / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 2.304e-06/1.048, allocations: 0 / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0004431/1.049, allocations: 131.7 kB / 1.31 GB, free: 28.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/1.049, allocations: 54.44 kB / 1.31 GB, free: 28.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/1.049, allocations: 185.5 kB / 1.311 GB, free: 28.13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/1.049, allocations: 35.98 kB / 1.311 GB, free: 28.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/1.049, allocations: 112.2 kB / 1.311 GB, free: 27.99 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/1.049, allocations: 29.27 kB / 1.311 GB, free: 27.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/1.049, allocations: 55.8 kB / 1.311 GB, free: 27.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/1.049, allocations: 328.4 kB / 1.311 GB, free: 27.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/1.049, allocations: 28.53 kB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/1.05, allocations: 119.5 kB / 1.311 GB, free: 27.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.05, allocations: 84.14 kB / 1.311 GB, free: 27.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.05, allocations: 4 kB / 1.311 GB, free: 27.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000307/1.05, allocations: 138.3 kB / 1.311 GB, free: 27.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.05, allocations: 9.906 kB / 1.311 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.05, allocations: 3.938 kB / 1.311 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/1.05, allocations: 2.719 kB / 1.311 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.05, allocations: 11.84 kB / 1.311 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.05, allocations: 3.219 kB / 1.311 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/1.051, allocations: 23.81 kB / 1.311 GB, free: 27.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/1.051, allocations: 9.781 kB / 1.311 GB, free: 27.35 MB / 1.061 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.0001404/1.051, allocations: 136.4 kB / 1.312 GB, free: 27.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/1.051, allocations: 17.66 kB / 1.312 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/1.051, allocations: 15.66 kB / 1.312 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.051, allocations: 2.781 kB / 1.312 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.051, allocations: 0 / 1.312 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.051, allocations: 0 / 1.312 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/1.052, allocations: 431.6 kB / 1.312 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.052, allocations: 2.969 kB / 1.312 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/1.052, allocations: 3.469 kB / 1.312 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.052, allocations: 6.984 kB / 1.312 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/1.052, allocations: 0 / 1.312 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.052, allocations: 3.938 kB / 1.312 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.052, allocations: 2.781 kB / 1.312 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/1.052, allocations: 211.5 kB / 1.312 GB, free: 26.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/1.052, allocations: 95.45 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/1.052, allocations: 2.531 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/1.052, allocations: 12.48 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/1.052, allocations: 8.672 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/1.052, allocations: 8.938 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001345/1.052, allocations: 139.8 kB / 1.313 GB, free: 26.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/1.052, allocations: 0 / 1.313 GB, free: 26.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005203/1.053, allocations: 35.59 kB / 1.313 GB, free: 26.45 MB / 1.061 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.000803/1.054, allocations: 0.8094 MB / 1.313 GB, free: 25.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002725/1.054, allocations: 81.33 kB / 1.313 GB, free: 25.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.054, allocations: 0 / 1.313 GB, free: 25.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/1.054, allocations: 38.7 kB / 1.313 GB, free: 25.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/1.055, allocations: 50.53 kB / 1.314 GB, free: 25.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/1.057, allocations: 1.783 MB / 1.315 GB, free: 24.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/1.057, allocations: 0.714 MB / 1.316 GB, free: 23.53 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001026/1.057, allocations: 20.06 kB / 1.316 GB, free: 23.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-05/1.057, allocations: 45.67 kB / 1.316 GB, free: 23.5 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/1.057, allocations: 0 / 1.316 GB, free: 23.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/1.086, allocations: 5.042 MB / 1.321 GB, free: 22.81 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/9.65, allocations: 6.156 kB / 1.321 GB, free: 22.81 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.07625824538991]