Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008443/0.008443, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 68.11 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.17, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003953/1.174, allocations: 1.226 MB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004131/1.174, allocations: 54.27 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.543e-05/1.174, allocations: 1.156 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.025e-05/1.174, allocations: 0.6094 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/1.175, allocations: 8.453 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/1.175, allocations: 13.94 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/1.175, allocations: 17.95 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/1.175, allocations: 7.188 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/1.175, allocations: 8.906 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/1.175, allocations: 10.17 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/1.175, allocations: 1.156 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/1.175, allocations: 4.141 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/1.176, allocations: 47.47 kB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/1.176, allocations: 41.56 kB / 1.089 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/1.176, allocations: 72.23 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.176, allocations: 4 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.607e-06/1.176, allocations: 0 / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.176, allocations: 1.094 kB / 1.089 GB, free: 4.293 MB / 0.8575 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.0007109/1.177, allocations: 430.5 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/1.177, allocations: 8.969 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.827e-05/1.177, allocations: 110.7 kB / 1.089 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/1.177, allocations: 88.5 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/1.177, allocations: 263.6 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/1.177, allocations: 158.5 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/1.177, allocations: 155.6 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.72e-05/1.177, allocations: 102.6 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/1.177, allocations: 79.28 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/1.177, allocations: 152.5 kB / 1.09 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/1.178, allocations: 154.6 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/1.178, allocations: 155.6 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/1.178, allocations: 0.4897 MB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/1.178, allocations: 170.5 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/1.178, allocations: 92.12 kB / 1.091 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/1.178, allocations: 76.97 kB / 1.091 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/1.178, allocations: 106.5 kB / 1.092 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 3.176e-06/1.178, allocations: 1.125 kB / 1.092 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001316/1.179, allocations: 46.11 kB / 1.092 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.179, allocations: 130.7 kB / 1.092 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/1.179, allocations: 232.8 kB / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/1.179, allocations: 29.7 kB / 1.092 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.179, allocations: 115 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/1.179, allocations: 0.9375 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/1.179, allocations: 36.91 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001957/1.18, allocations: 327.8 kB / 1.092 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/1.18, allocations: 59.2 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/1.18, allocations: 56.19 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/1.18, allocations: 135.3 kB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.18, allocations: 5.125 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006471/1.181, allocations: 179.8 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/1.181, allocations: 5.75 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.181, allocations: 0.6562 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.181, allocations: 1.062 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.145e-06/1.181, allocations: 0 / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.181, allocations: 0.7969 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/1.181, allocations: 15.53 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/1.181, allocations: 6.391 kB / 1.093 GB, free: 16.56 MB / 0.8731 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.0001961/1.181, allocations: 206.8 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/1.182, allocations: 110.5 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/1.182, allocations: 119.8 kB / 1.093 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.64e-05/1.182, allocations: 178 kB / 1.094 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.713e-05/1.182, allocations: 178.1 kB / 1.094 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.182, allocations: 182.3 kB / 1.094 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/1.182, allocations: 440.5 kB / 1.094 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.417e-05/1.182, allocations: 107.3 kB / 1.094 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/1.182, allocations: 106.9 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/1.183, allocations: 178.1 kB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.183, allocations: 180.7 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001049/1.183, allocations: 186.1 kB / 1.095 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001002/1.183, allocations: 182.1 kB / 1.095 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/1.183, allocations: 325.1 kB / 1.095 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/1.183, allocations: 189.8 kB / 1.096 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.183, allocations: 183.7 kB / 1.096 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/1.184, allocations: 110 kB / 1.096 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.184, allocations: 178.1 kB / 1.096 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/1.184, allocations: 114.8 kB / 1.096 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000243/1.184, allocations: 159.4 kB / 1.096 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.32e-07/1.184, allocations: 0 / 1.096 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003771/1.184, allocations: 21.16 kB / 1.096 GB, free: 12.95 MB / 0.8731 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.0007164/1.185, allocations: 0.8277 MB / 1.097 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002413/1.185, allocations: 77.11 kB / 1.097 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.185, allocations: 3.938 kB / 1.097 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/1.185, allocations: 0.75 kB / 1.097 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/1.186, allocations: 463.9 kB / 1.098 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/1.19, allocations: 2.116 MB / 1.1 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/1.19, allocations: 0.7092 MB / 1.1 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.709e-05/1.19, allocations: 9.484 kB / 1.1 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/1.19, allocations: 34.75 kB / 1.101 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of SimCode: time 1.984e-06/1.19, allocations: 0 / 1.101 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/1.216, allocations: 2.778 MB / 1.103 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/9.18, allocations: 13.67 kB / 1.103 GB, free: 8.914 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches