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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001039/0.001039, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007896/0.007896, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 8 kB / 0.8729 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6035, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001288/0.6048, allocations: 0.9372 MB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000289/0.6052, allocations: 59.75 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.6052, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.6053, allocations: 3.938 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.6054, allocations: 8 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.6056, allocations: 7.984 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.6057, allocations: 39.89 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.6057, allocations: 4 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.6058, allocations: 4 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.6058, allocations: 13.48 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.6058, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.6059, allocations: 7.938 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.606, allocations: 48.44 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.6061, allocations: 77.31 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.6062, allocations: 65.97 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6062, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6062, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.6062, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 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.0003711/0.6066, allocations: 418.8 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6066, allocations: 12.03 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.6067, allocations: 110 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.6067, allocations: 88.12 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.6069, allocations: 266.5 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.6069, allocations: 154.6 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.607, allocations: 150.6 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.292e-05/0.6071, allocations: 108.9 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.6071, allocations: 75.28 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.6071, allocations: 158.6 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.6072, allocations: 150.6 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.6072, allocations: 154.5 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.6075, allocations: 0.4899 MB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.6076, allocations: 169.1 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.6076, allocations: 80.14 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.6077, allocations: 75.28 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.6077, allocations: 109.8 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.6077, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.642e-05/0.6078, allocations: 45.44 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.6078, allocations: 130.7 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.6081, allocations: 234.9 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.6081, allocations: 29.7 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.6082, allocations: 104.1 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.6082, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.6082, allocations: 29.7 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.6083, allocations: 326.8 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.6084, allocations: 51.97 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.6085, allocations: 63.95 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.6086, allocations: 136.7 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6086, allocations: 3.984 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002985/0.6089, allocations: 177.4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.609, allocations: 4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.609, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.609, allocations: 4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.609, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.609, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.6091, allocations: 19.69 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.6091, allocations: 8 kB / 1.028 GB, free: 10.31 MB / 0.7794 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.0001162/0.6092, allocations: 209.6 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.6093, allocations: 120.8 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.6093, allocations: 117.5 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.723e-05/0.6094, allocations: 176.3 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-05/0.6094, allocations: 180.2 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-05/0.6095, allocations: 192.1 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.6097, allocations: 437.1 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/0.6098, allocations: 105 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.6098, allocations: 101 kB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.848e-05/0.6098, allocations: 188.2 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.6099, allocations: 180.3 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.973e-05/0.61, allocations: 192.2 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.583e-05/0.61, allocations: 176.3 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.6101, allocations: 315.6 kB / 1.031 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.6102, allocations: 189.9 kB / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.6103, allocations: 188.2 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.6103, allocations: 105.3 kB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.6104, allocations: 180.2 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.6104, allocations: 108.9 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001192/0.6106, allocations: 160.6 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6106, allocations: 0 / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002373/0.6108, allocations: 19.94 kB / 1.032 GB, free: 6.52 MB / 0.7794 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.0003509/0.6112, allocations: 0.8242 MB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.6113, allocations: 75.97 kB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6113, allocations: 0 / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.6113, allocations: 4.062 kB / 1.033 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.6117, allocations: 0.5263 MB / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.6135, allocations: 2.142 MB / 1.035 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.6137, allocations: 0.7103 MB / 1.036 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.6137, allocations: 7.984 kB / 1.036 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.6138, allocations: 31.42 kB / 1.036 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.6138, allocations: 0 / 1.036 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.625, allocations: 2.529 MB / 1.039 GB, free: 15.68 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.6252, allocations: 215.8 kB / 1.039 GB, free: 15.42 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.338, allocations: 0 / 1.039 GB, free: 15.42 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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