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.001313/0.001313, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001391/0.001391, allocations: 195.8 kB / 16.14 MB, free: 6.691 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.543/2.543, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 59.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6834, allocations: 151.6 MB / 1.017 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002759/0.6862, allocations: 1.284 MB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003044/0.6866, allocations: 55.7 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.6866, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.6867, allocations: 4 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.6869, allocations: 15.97 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.687, allocations: 8 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.978e-05/0.6871, allocations: 35.89 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.6872, allocations: 4 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.6872, allocations: 3.984 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.6873, allocations: 17.44 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.6873, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.6874, allocations: 11.98 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.6875, allocations: 52.39 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.6876, allocations: 35.69 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.6877, allocations: 70.09 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6877, allocations: 0 / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6877, allocations: 4 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.6878, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.7637 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.0005462/0.6883, allocations: 434.6 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.6884, allocations: 8.031 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.756e-05/0.6884, allocations: 110 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.176e-05/0.6885, allocations: 88.12 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.6887, allocations: 270.5 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/0.6888, allocations: 154.6 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.6889, allocations: 150.6 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.689, allocations: 101 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.689, allocations: 83.22 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.6891, allocations: 150.6 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/0.6892, allocations: 154.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.895e-05/0.6892, allocations: 150.6 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.6896, allocations: 0.4938 MB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.254e-05/0.6897, allocations: 169.1 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.6897, allocations: 84.14 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.6898, allocations: 79.28 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.6898, allocations: 113.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.6898, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.934e-05/0.6899, allocations: 37.52 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.69, allocations: 130.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.6903, allocations: 234.9 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.6903, allocations: 29.7 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.6904, allocations: 100.1 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.6904, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.6905, allocations: 37.7 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6906, allocations: 334.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.6907, allocations: 55.97 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.6908, allocations: 56.52 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.691, allocations: 144.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.691, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003392/0.6914, allocations: 173.4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6914, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6914, allocations: 7.984 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6914, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.6914, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6915, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.6915, allocations: 23.75 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.6915, allocations: 4 kB / 1.022 GB, free: 13.02 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.0001428/0.6917, allocations: 205.6 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.6918, allocations: 116.7 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.6918, allocations: 109.5 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-05/0.6919, allocations: 184.2 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-05/0.692, allocations: 192.3 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.681e-05/0.6921, allocations: 180.2 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.6924, allocations: 437.1 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/0.6924, allocations: 109 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.6925, allocations: 104.9 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-05/0.6926, allocations: 180.3 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.6926, allocations: 176.3 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.236e-05/0.6927, allocations: 184.2 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.236e-05/0.6928, allocations: 180.3 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.6929, allocations: 315.6 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6931, allocations: 197.9 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/0.6932, allocations: 188.2 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.6933, allocations: 101.3 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.6933, allocations: 184.2 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.6934, allocations: 108.9 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001279/0.6935, allocations: 156.6 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6935, allocations: 4 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002721/0.6938, allocations: 19.94 kB / 1.026 GB, free: 9.234 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.0004528/0.6943, allocations: 0.8281 MB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.6944, allocations: 79.97 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6944, allocations: 0 / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.6944, allocations: 0 / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.6949, allocations: 0.5224 MB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.6971, allocations: 2.14 MB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.6974, allocations: 0.7082 MB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.6975, allocations: 4 kB / 1.03 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.6975, allocations: 39.45 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6975, allocations: 0 / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.7183, allocations: 2.61 MB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.7186, allocations: 212.8 kB / 1.033 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.53, allocations: 3.938 kB / 1.033 GB, free: 2.035 MB / 0.7794 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