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.001634/0.001634, allocations: 107.8 kB / 16.45 MB, free: 6.02 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.001897/0.001897, allocations: 208.3 kB / 19.43 MB, free: 3.516 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.629/1.629, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.457/3.457, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.00218/0.00218, allocations: 75.06 kB / 1.149 GB, free: 26.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.465, allocations: 176.1 MB / 1.321 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002683/0.4676, allocations: 1.238 MB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002648/0.4679, allocations: 55.81 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.4679, allocations: 0 / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.468, allocations: 0 / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.4681, allocations: 11.92 kB / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.4683, allocations: 12 kB / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.213e-05/0.4684, allocations: 23.91 kB / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.4684, allocations: 0 / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.4684, allocations: 4 kB / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.4685, allocations: 16.66 kB / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.4685, allocations: 4 kB / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.4686, allocations: 8 kB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.4687, allocations: 48.44 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.4688, allocations: 35.69 kB / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.4689, allocations: 79.81 kB / 1.322 GB, free: 1.957 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4689, allocations: 0 / 1.322 GB, free: 1.957 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4689, allocations: 3.938 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.4689, allocations: 0 / 1.322 GB, free: 1.953 MB / 1.014 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.0005212/0.4694, allocations: 430.6 kB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4695, allocations: 11.98 kB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.209e-05/0.4696, allocations: 114 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.4697, allocations: 88.12 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.4699, allocations: 275.4 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/0.47, allocations: 154.5 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.4701, allocations: 150.6 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.283e-05/0.4701, allocations: 101.4 kB / 1.324 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.4702, allocations: 75.28 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.4702, allocations: 150.6 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.686e-05/0.4703, allocations: 158.6 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.4704, allocations: 154.5 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.4708, allocations: 497.8 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.4709, allocations: 173.1 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.471, allocations: 84.14 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.471, allocations: 75.28 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.4711, allocations: 109.8 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4711, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.105e-05/0.4712, allocations: 37.61 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.4713, allocations: 126.7 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.4715, allocations: 243 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4716, allocations: 25.7 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.4717, allocations: 108.1 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.4717, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.4717, allocations: 41.69 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4719, allocations: 326.8 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.472, allocations: 51.97 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.4721, allocations: 59.95 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.4723, allocations: 142.8 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4723, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003575/0.4726, allocations: 173.5 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4726, allocations: 8 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4726, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4727, allocations: 3.938 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.4727, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4727, allocations: 3.984 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.4727, allocations: 19.78 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.4727, allocations: 4 kB / 1.326 GB, free: 13.61 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.0001667/0.4729, allocations: 217 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.346e-05/0.473, allocations: 116.8 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.4731, allocations: 117.5 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-05/0.4732, allocations: 180.3 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001087/0.4733, allocations: 184.2 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.003e-05/0.4734, allocations: 180.3 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.4737, allocations: 445.1 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.076e-05/0.4738, allocations: 101 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.4738, allocations: 101 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.032e-05/0.4739, allocations: 180.2 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/0.474, allocations: 184.2 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001012/0.4741, allocations: 188.2 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-05/0.4742, allocations: 180.3 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.4744, allocations: 315.9 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.4745, allocations: 194 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4746, allocations: 188.2 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.4747, allocations: 101 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4748, allocations: 184.2 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.4749, allocations: 101 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001469/0.475, allocations: 156.6 kB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.475, allocations: 0 / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002667/0.4753, allocations: 16 kB / 1.33 GB, free: 9.832 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.0005814/0.4759, allocations: 0.8281 MB / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.476, allocations: 59.95 kB / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.476, allocations: 0 / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.476, allocations: 0 / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.4765, allocations: 465.5 kB / 1.331 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.4789, allocations: 2.125 MB / 1.333 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.4793, allocations: 0.7175 MB / 1.334 GB, free: 5.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.4793, allocations: 11.94 kB / 1.334 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.4794, allocations: 35.45 kB / 1.334 GB, free: 5.473 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.4794, allocations: 0 / 1.334 GB, free: 5.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.509, allocations: 2.779 MB / 1.337 GB, free: 2.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.792, allocations: 20.39 kB / 1.337 GB, free: 2.793 MB / 1.029 GB " [Timeout remaining time 291] (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: 16.302130731055513]