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.00192/0.00192, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002887/0.002887, allocations: 210.8 kB / 23.04 MB, free: 5.078 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.459/3.459, allocations: 0.49 GB / 0.7959 GB, free: 33.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="cs",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.002121/0.002121, allocations: 62.81 kB / 1.155 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5086, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003889/0.5125, allocations: 1.242 MB / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004432/0.513, allocations: 56.22 kB / 1.328 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.513, allocations: 4 kB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.091e-05/0.5131, allocations: 3.984 kB / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.5133, allocations: 7.938 kB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.5135, allocations: 15.98 kB / 1.328 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.5136, allocations: 15.92 kB / 1.328 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.5137, allocations: 4 kB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.5137, allocations: 7.984 kB / 1.328 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.5138, allocations: 8.688 kB / 1.328 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.5139, allocations: 0 / 1.328 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.514, allocations: 15.97 kB / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.5141, allocations: 48.45 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.5142, allocations: 43.62 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.5144, allocations: 79.73 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5144, allocations: 0 / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5144, allocations: 0 / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.5144, allocations: 3.938 kB / 1.328 GB, free: 376 kB / 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.0006359/0.5151, allocations: 354.4 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.5151, allocations: 12.03 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.871e-05/0.5152, allocations: 75.47 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.334e-05/0.5153, allocations: 110 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.5154, allocations: 88.12 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.5156, allocations: 213.3 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.484e-05/0.5157, allocations: 154.5 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/0.5158, allocations: 150.6 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.5159, allocations: 105 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/0.516, allocations: 79.22 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.516, allocations: 154.6 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-05/0.5161, allocations: 154.6 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.5162, allocations: 150.6 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.5166, allocations: 468.9 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.5168, allocations: 169.1 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.5168, allocations: 84.08 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.5169, allocations: 75.28 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/0.5169, allocations: 109.8 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.5169, allocations: 4 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001142/0.517, allocations: 37.61 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/0.5171, allocations: 130.7 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.5174, allocations: 235 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.5175, allocations: 25.7 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.5176, allocations: 116.1 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-06/0.5176, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.5176, allocations: 33.7 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5178, allocations: 330.8 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.926e-05/0.5179, allocations: 63.89 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.518, allocations: 59.95 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.5182, allocations: 132 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5182, allocations: 3.938 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000414/0.5186, allocations: 173.5 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5186, allocations: 8 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5186, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5186, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-06/0.5187, allocations: 12.05 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.5187, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.5187, allocations: 23.72 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.5187, allocations: 4 kB / 1.332 GB, free: 12.15 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.0001694/0.5189, allocations: 205.6 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.519, allocations: 108.9 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.5191, allocations: 117.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.775e-05/0.5192, allocations: 188.2 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001078/0.5193, allocations: 180.2 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/0.5194, allocations: 184.1 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.5197, allocations: 408.3 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.803e-05/0.5197, allocations: 105 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.5198, allocations: 112.9 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.88e-05/0.5199, allocations: 184.3 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.52, allocations: 180.2 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.972e-05/0.5201, allocations: 176.3 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.665e-05/0.5201, allocations: 176.3 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.5204, allocations: 327.8 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.5204, allocations: 116.8 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.5205, allocations: 180.3 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5206, allocations: 109 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.5207, allocations: 188.1 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.5208, allocations: 101 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001551/0.5209, allocations: 160.6 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5209, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002807/0.5212, allocations: 20 kB / 1.335 GB, free: 8.496 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.000558/0.5218, allocations: 0.8203 MB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.5219, allocations: 59.97 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5219, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.522, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.5224, allocations: 476.9 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.525, allocations: 2.134 MB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.5253, allocations: 0.7078 MB / 1.34 GB, free: 4.172 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.5254, allocations: 11.98 kB / 1.34 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.5254, allocations: 27.42 kB / 1.34 GB, free: 4.133 MB / 1.029 GB Notification: Performance of SimCode: time 1.443e-06/0.5254, allocations: 4 kB / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.5503, allocations: 2.897 MB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.08, allocations: 10.98 kB / 1.342 GB, free: 1.379 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: 19.81650441297097]