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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001304/0.001304, 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.001348/0.001348, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.8125, allocations: 140.4 MB / 0.949 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002217/0.8148, allocations: 1.266 MB / 0.9503 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.8151, allocations: 60.95 kB / 0.9503 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.8151, allocations: 0 / 0.9503 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.8151, allocations: 3.938 kB / 0.9503 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.8153, allocations: 6.656 kB / 0.9504 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.8154, allocations: 19.27 kB / 0.9504 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.472e-05/0.8155, allocations: 38.27 kB / 0.9504 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.8155, allocations: 0 / 0.9504 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.8156, allocations: 3.688 kB / 0.9504 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.8156, allocations: 15.55 kB / 0.9504 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.8157, allocations: 1.281 kB / 0.9504 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.8157, allocations: 11.22 kB / 0.9504 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.549e-05/0.8158, allocations: 48.02 kB / 0.9505 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.8159, allocations: 40.5 kB / 0.9505 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.816, allocations: 74.88 kB / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.816, allocations: 0 / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.816, allocations: 1.25 kB / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.816, allocations: 0 / 0.9506 GB, free: 7.977 MB / 0.7169 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.0003522/0.8164, allocations: 423 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8164, allocations: 9.438 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.8165, allocations: 107.1 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.8165, allocations: 87.97 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.8166, allocations: 276.3 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.8167, allocations: 154.6 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.8167, allocations: 152 kB / 0.9517 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.041e-05/0.8167, allocations: 101 kB / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.8168, allocations: 76.47 kB / 0.9519 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.8168, allocations: 150.6 kB / 0.9521 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.8168, allocations: 154.6 kB / 0.9522 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.8169, allocations: 155.8 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.8171, allocations: 0.4926 MB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.562e-05/0.8171, allocations: 165.1 kB / 0.953 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.8172, allocations: 85.52 kB / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.8172, allocations: 75.28 kB / 0.9531 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.8172, allocations: 111 kB / 0.9533 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.475e-06/0.8172, allocations: 3.984 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.762e-05/0.8173, allocations: 41.45 kB / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.8173, allocations: 127.8 kB / 0.9534 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.8175, allocations: 232.7 kB / 0.9536 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.8176, allocations: 25.7 kB / 0.9537 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.8176, allocations: 111 kB / 0.9538 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.8176, allocations: 0 / 0.9538 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.8177, allocations: 42.42 kB / 0.9538 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.963e-05/0.8177, allocations: 332.9 kB / 0.9541 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.8178, allocations: 52.64 kB / 0.9542 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.8179, allocations: 61.23 kB / 0.9542 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.8181, allocations: 140.6 kB / 0.9544 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8181, allocations: 4 kB / 0.9544 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000324/0.8184, allocations: 178.3 kB / 0.9545 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8185, allocations: 7.406 kB / 0.9546 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8185, allocations: 0 / 0.9546 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8185, allocations: 0 / 0.9546 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.8185, allocations: 1.406 kB / 0.9546 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8185, allocations: 0 / 0.9546 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.8186, allocations: 22.66 kB / 0.9546 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.8186, allocations: 5.406 kB / 0.9546 GB, free: 4.105 MB / 0.7169 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 9.605e-05/0.8187, allocations: 204.4 kB / 0.9548 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.8187, allocations: 117.8 kB / 0.9549 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.8188, allocations: 117.1 kB / 0.955 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/0.8188, allocations: 177.6 kB / 0.9552 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.219e-05/0.8189, allocations: 181.5 kB / 0.9553 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/0.8189, allocations: 189.5 kB / 0.9555 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.8191, allocations: 440 kB / 0.9559 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/0.8191, allocations: 102.4 kB / 0.956 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.8191, allocations: 102.5 kB / 0.9561 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.579e-05/0.8191, allocations: 180.2 kB / 0.9563 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.8192, allocations: 177.9 kB / 0.9565 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.459e-05/0.8192, allocations: 189.7 kB / 0.9567 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.402e-05/0.8192, allocations: 176.3 kB / 0.9568 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.178e-05/0.8193, allocations: 319.1 kB / 0.9571 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.8193, allocations: 193.1 kB / 0.9573 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.8194, allocations: 193.8 kB / 0.9575 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.8195, allocations: 106.7 kB / 0.9576 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.8195, allocations: 176.3 kB / 0.9578 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.8195, allocations: 110.1 kB / 0.9579 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001066/0.8196, allocations: 165.2 kB / 0.958 GB, free: 460 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8196, allocations: 0 / 0.958 GB, free: 460 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002461/0.8199, allocations: 25.81 kB / 0.9581 GB, free: 452 kB / 0.7169 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.0003801/0.8203, allocations: 0.8183 MB / 0.9589 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.8204, allocations: 83.89 kB / 0.9589 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8205, allocations: 0 / 0.9589 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.8205, allocations: 0 / 0.9589 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.8209, allocations: 0.5289 MB / 0.9595 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.8235, allocations: 2.118 MB / 0.9615 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.8239, allocations: 0.713 MB / 0.9622 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.824, allocations: 7.797 kB / 0.9622 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.824, allocations: 29.8 kB / 0.9623 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of SimCode: time 2.745e-06/0.824, allocations: 0 / 0.9623 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.8409, allocations: 2.607 MB / 0.9648 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/0.8412, allocations: 219.8 kB / 0.965 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.594, allocations: 1.375 kB / 0.965 GB, free: 11.18 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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