Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_10_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.007119/0.007119, allocations: 101 kB / 15.73 MB, free: 6.059 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.002031/0.002031, allocations: 193.4 kB / 16.67 MB, free: 5.969 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273/1.275, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002853/1.278, allocations: 1.214 MB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003349/1.279, allocations: 57.67 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/1.279, allocations: 0 / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.273e-05/1.279, allocations: 0 / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/1.279, allocations: 11.98 kB / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/1.279, allocations: 19.92 kB / 1.167 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/1.279, allocations: 11.98 kB / 1.167 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.797e-05/1.279, allocations: 0 / 1.167 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/1.279, allocations: 8 kB / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/1.279, allocations: 16.66 kB / 1.167 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/1.279, allocations: 0 / 1.167 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.312e-05/1.279, allocations: 7.938 kB / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/1.28, allocations: 52.38 kB / 1.167 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/1.28, allocations: 39.75 kB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/1.28, allocations: 71.25 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.28, allocations: 0 / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.959e-06/1.28, allocations: 4 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.28, allocations: 0 / 1.168 GB, free: 2.277 MB / 0.8887 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.0006888/1.281, allocations: 434.6 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.281, allocations: 8.625 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.965e-05/1.281, allocations: 106 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/1.281, allocations: 88.12 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/1.281, allocations: 275.4 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.281, allocations: 158.5 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/1.281, allocations: 150.6 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.615e-05/1.281, allocations: 104.9 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/1.281, allocations: 75.28 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/1.282, allocations: 158.5 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.218e-05/1.282, allocations: 154.6 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.681e-05/1.282, allocations: 150.6 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/1.282, allocations: 0.49 MB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/1.282, allocations: 179.5 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/1.282, allocations: 88.19 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/1.282, allocations: 79.28 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/1.283, allocations: 105.8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/1.283, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001037/1.283, allocations: 37.61 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/1.283, allocations: 126.7 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/1.283, allocations: 239 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/1.283, allocations: 25.7 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.283, allocations: 112.1 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.283, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/1.283, allocations: 41.69 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.283, allocations: 326.8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/1.284, allocations: 51.97 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/1.284, allocations: 61.08 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/1.284, allocations: 138.5 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.284, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003984/1.284, allocations: 178.2 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.284, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.284, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.284, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/1.284, allocations: 3.938 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.284, allocations: 3.938 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/1.284, allocations: 15.84 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/1.284, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 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.0001797/1.285, allocations: 209.1 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/1.285, allocations: 112.9 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/1.285, allocations: 117.5 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/1.285, allocations: 180.2 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.993e-05/1.285, allocations: 180.3 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.402e-05/1.285, allocations: 184.2 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/1.285, allocations: 437.1 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.485e-05/1.286, allocations: 112.9 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/1.286, allocations: 101 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.988e-05/1.286, allocations: 180.3 kB / 1.173 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.286, allocations: 180.2 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.171e-05/1.286, allocations: 188.2 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.909e-05/1.286, allocations: 184.2 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/1.286, allocations: 319.7 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/1.286, allocations: 193.9 kB / 1.174 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.286, allocations: 184.2 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.287, allocations: 105.2 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/1.287, allocations: 176.3 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/1.287, allocations: 109 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000166/1.287, allocations: 156.6 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.287, allocations: 0 / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002928/1.287, allocations: 19.94 kB / 1.175 GB, free: 10.15 MB / 0.9044 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.0006504/1.288, allocations: 0.832 MB / 1.176 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001783/1.288, allocations: 71.97 kB / 1.176 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.288, allocations: 0 / 1.176 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/1.288, allocations: 3.938 kB / 1.176 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/1.289, allocations: 463.7 kB / 1.176 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/1.291, allocations: 2.13 MB / 1.178 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/1.292, allocations: 0.7119 MB / 1.179 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.716e-05/1.292, allocations: 12.02 kB / 1.179 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/1.292, allocations: 31.42 kB / 1.179 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/1.292, allocations: 0 / 1.179 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/1.325, allocations: 2.773 MB / 1.182 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/9.82, allocations: 9.438 kB / 1.182 GB, free: 3.113 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches