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.001753/0.001753, allocations: 116.8 kB / 17.17 MB, free: 6 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.001779/0.001779, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.731/1.731, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.222/3.222, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.002282/0.002282, allocations: 59.91 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407/1.409, allocations: 176.1 MB / 1.321 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002454/1.411, allocations: 1.238 MB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003106/1.412, allocations: 59.45 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/1.412, allocations: 0 / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/1.412, allocations: 10.34 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/1.412, allocations: 3.375 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/1.412, allocations: 8.75 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.744e-05/1.412, allocations: 21.08 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/1.412, allocations: 0 / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/1.412, allocations: 8.484 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/1.412, allocations: 15.66 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/1.412, allocations: 2.906 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/1.412, allocations: 14.27 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/1.413, allocations: 45.03 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/1.413, allocations: 42.38 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/1.413, allocations: 73.92 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.413, allocations: 4 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.236e-06/1.413, allocations: 0 / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.452e-05/1.413, allocations: 0 / 1.323 GB, free: 23.61 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004314/1.413, allocations: 435.5 kB / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.413, allocations: 14.02 kB / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.439e-05/1.413, allocations: 75.47 kB / 1.323 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/1.413, allocations: 106 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/1.413, allocations: 89.47 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/1.414, allocations: 271 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/1.414, allocations: 157.2 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/1.414, allocations: 150.6 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.13e-05/1.414, allocations: 104.9 kB / 1.324 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.414, allocations: 75.28 kB / 1.324 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/1.414, allocations: 152.7 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.414, allocations: 150.6 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.19e-05/1.414, allocations: 154.6 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/1.414, allocations: 498 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/1.414, allocations: 173.1 kB / 1.325 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/1.414, allocations: 91.06 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/1.414, allocations: 79.28 kB / 1.326 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.414, allocations: 109 kB / 1.326 GB, free: 20.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.414, allocations: 0 / 1.326 GB, free: 20.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.667e-05/1.414, allocations: 38.8 kB / 1.326 GB, free: 20.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/1.414, allocations: 130.6 kB / 1.326 GB, free: 20.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.415, allocations: 232.7 kB / 1.326 GB, free: 20.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/1.415, allocations: 25.7 kB / 1.326 GB, free: 20.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/1.415, allocations: 117.3 kB / 1.326 GB, free: 20.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/1.415, allocations: 0 / 1.326 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/1.415, allocations: 36.91 kB / 1.326 GB, free: 20.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/1.415, allocations: 335.1 kB / 1.327 GB, free: 19.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/1.415, allocations: 59.61 kB / 1.327 GB, free: 19.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/1.415, allocations: 54.95 kB / 1.327 GB, free: 19.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/1.415, allocations: 133.4 kB / 1.327 GB, free: 19.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.415, allocations: 0 / 1.327 GB, free: 19.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003022/1.415, allocations: 186.6 kB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.415, allocations: 5.656 kB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.415, allocations: 3.938 kB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.415, allocations: 0 / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/1.415, allocations: 0 / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.415, allocations: 6.797 kB / 1.327 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/1.415, allocations: 14.62 kB / 1.327 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/1.416, allocations: 5.656 kB / 1.327 GB, free: 19.8 MB / 1.061 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.0001033/1.416, allocations: 208.7 kB / 1.327 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/1.416, allocations: 119 kB / 1.327 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/1.416, allocations: 114.7 kB / 1.327 GB, free: 19.37 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/1.416, allocations: 179.6 kB / 1.328 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/1.416, allocations: 183.1 kB / 1.328 GB, free: 19.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/1.416, allocations: 181.8 kB / 1.328 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/1.416, allocations: 441.5 kB / 1.328 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/1.416, allocations: 108.9 kB / 1.328 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/1.416, allocations: 106.8 kB / 1.329 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.149e-05/1.416, allocations: 176.3 kB / 1.329 GB, free: 17.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/1.416, allocations: 180.2 kB / 1.329 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.795e-05/1.416, allocations: 179 kB / 1.329 GB, free: 17.6 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.953e-05/1.416, allocations: 191.7 kB / 1.329 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/1.416, allocations: 313.4 kB / 1.33 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/1.416, allocations: 191.1 kB / 1.33 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/1.417, allocations: 183.7 kB / 1.33 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/1.417, allocations: 112.1 kB / 1.33 GB, free: 16.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/1.417, allocations: 176.3 kB / 1.33 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/1.417, allocations: 101 kB / 1.33 GB, free: 16.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001076/1.417, allocations: 158 kB / 1.33 GB, free: 16.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.417, allocations: 3.938 kB / 1.33 GB, free: 16.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002478/1.417, allocations: 20.53 kB / 1.33 GB, free: 16.2 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: 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.0003496/1.417, allocations: 0.8265 MB / 1.331 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001482/1.418, allocations: 59.89 kB / 1.331 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.418, allocations: 0 / 1.331 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/1.418, allocations: 3.938 kB / 1.331 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/1.418, allocations: 462.7 kB / 1.332 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/1.42, allocations: 2.129 MB / 1.334 GB, free: 13.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/1.42, allocations: 0.7126 MB / 1.335 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.696e-05/1.42, allocations: 5.406 kB / 1.335 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/1.42, allocations: 29.03 kB / 1.335 GB, free: 12.68 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.42, allocations: 4.031 kB / 1.335 GB, free: 12.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/1.445, allocations: 2.83 MB / 1.337 GB, free: 12.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.75/10.19, allocations: 12.06 kB / 1.337 GB, free: 12.16 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.60410143795889]