Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001368/0.001368, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001832/0.001832, allocations: 216.6 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.35/3.35, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 62 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4277, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002798/0.4305, allocations: 1.248 MB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000299/0.4308, allocations: 52.2 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.4308, allocations: 0 / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.366e-05/0.4309, allocations: 3.984 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.431, allocations: 3.984 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.4312, allocations: 19.92 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.4313, allocations: 19.94 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.4314, allocations: 0 / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.4314, allocations: 11.97 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.4315, allocations: 4.75 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.4315, allocations: 3.938 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.283e-05/0.4316, allocations: 11.98 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.4317, allocations: 40.45 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.4318, allocations: 35.81 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.432, allocations: 87.72 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.432, allocations: 0 / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.432, allocations: 0 / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.432, allocations: 0 / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005738/0.4326, allocations: 357.6 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4326, allocations: 8.031 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.4327, allocations: 110 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.422e-05/0.4328, allocations: 88.12 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.433, allocations: 206.3 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.212e-05/0.433, allocations: 162.5 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4332, allocations: 154.6 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.4332, allocations: 101 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.4333, allocations: 75.28 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.4334, allocations: 154.6 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-05/0.4334, allocations: 154.6 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.4335, allocations: 158.4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.4339, allocations: 464.9 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.434, allocations: 165.1 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.4341, allocations: 84.14 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.665e-05/0.4341, allocations: 75.28 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/0.4342, allocations: 105.8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.4342, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.4343, allocations: 45.53 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.4344, allocations: 134.6 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.4347, allocations: 235 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4347, allocations: 25.7 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4348, allocations: 108.1 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-06/0.4348, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.4349, allocations: 37.7 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4351, allocations: 326.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4352, allocations: 59.95 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/0.4353, allocations: 63.95 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.4355, allocations: 135 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4355, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004193/0.4359, allocations: 179.5 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.4359, allocations: 5.719 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.4359, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4359, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.659e-06/0.4359, allocations: 3.984 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4359, allocations: 4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.436, allocations: 19.77 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.436, allocations: 8 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001742/0.4362, allocations: 209.6 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.4363, allocations: 116.8 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.4364, allocations: 117.5 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.401e-05/0.4365, allocations: 176.3 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.65e-05/0.4365, allocations: 188.2 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.527e-05/0.4366, allocations: 176.3 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.4369, allocations: 412.2 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.929e-05/0.437, allocations: 105 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.437, allocations: 109 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.4371, allocations: 188.1 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.4372, allocations: 184.3 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-05/0.4373, allocations: 184.2 kB / 1.333 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-05/0.4374, allocations: 176.3 kB / 1.333 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.4376, allocations: 319.9 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.4376, allocations: 112.9 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4377, allocations: 184.2 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.4378, allocations: 109 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4379, allocations: 180.3 kB / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.438, allocations: 104.9 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001355/0.4381, allocations: 160.6 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4381, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000266/0.4384, allocations: 20 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004994/0.4389, allocations: 0.8242 MB / 1.335 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.439, allocations: 63.89 kB / 1.335 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.439, allocations: 0 / 1.335 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.439, allocations: 0 / 1.335 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.4395, allocations: 463.7 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.4419, allocations: 2.138 MB / 1.338 GB, free: 4.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.442, allocations: 96.59 kB / 1.338 GB, free: 4.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.4421, allocations: 11.98 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.4421, allocations: 27.42 kB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.4421, allocations: 4 kB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.4729, allocations: 3.296 MB / 1.341 GB, free: 1.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.69, allocations: 5.875 kB / 1.341 GB, free: 1.258 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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: 18.921949098992627]