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.001934/0.001934, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 196.9 kB / 16.53 MB, free: 6.656 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.538/2.538, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9398/0.9413, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002122/0.9435, allocations: 1.209 MB / 0.9509 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002345/0.9438, allocations: 55.97 kB / 0.951 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.9438, allocations: 0 / 0.951 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.9439, allocations: 1.156 kB / 0.951 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.944, allocations: 13.05 kB / 0.951 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.9441, allocations: 8.031 kB / 0.951 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.9442, allocations: 24.22 kB / 0.951 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.9443, allocations: 1.5 kB / 0.951 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.9443, allocations: 4.406 kB / 0.951 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.9444, allocations: 9.828 kB / 0.951 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.9444, allocations: 0 / 0.951 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.9445, allocations: 16.8 kB / 0.951 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.9446, allocations: 39.89 kB / 0.9511 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.9446, allocations: 44.31 kB / 0.9511 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.9448, allocations: 75.89 kB / 0.9512 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9448, allocations: 0 / 0.9512 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9448, allocations: 1.438 kB / 0.9512 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9448, allocations: 0 / 0.9512 GB, free: 8.062 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.0003472/0.9451, allocations: 422.2 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.9452, allocations: 9.594 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.9452, allocations: 106 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.9453, allocations: 88.97 kB / 0.9518 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.9454, allocations: 276.7 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.9454, allocations: 154.5 kB / 0.9522 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.9455, allocations: 155.9 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.197e-05/0.9455, allocations: 101 kB / 0.9524 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.9455, allocations: 76.56 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.9456, allocations: 154.6 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.9456, allocations: 150.6 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.9456, allocations: 155.7 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.9458, allocations: 0.4883 MB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.531e-05/0.9459, allocations: 170.1 kB / 0.9536 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.9459, allocations: 81.17 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.9459, allocations: 79.27 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.946, allocations: 110.8 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.946, allocations: 3.938 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.66e-05/0.946, allocations: 41.88 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.9461, allocations: 131.9 kB / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.9463, allocations: 228.3 kB / 0.9542 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.9463, allocations: 25.7 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.9464, allocations: 114.6 kB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.9464, allocations: 0 / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.9464, allocations: 35.45 kB / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.9465, allocations: 334.9 kB / 0.9547 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.9466, allocations: 54.09 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.9466, allocations: 58.11 kB / 0.9548 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.9468, allocations: 136.6 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9468, allocations: 1.5 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000288/0.9471, allocations: 176.9 kB / 0.9551 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.9471, allocations: 9.203 kB / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9471, allocations: 1.469 kB / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9472, allocations: 0 / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.9472, allocations: 0 / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.9472, allocations: 1.469 kB / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.9472, allocations: 13.5 kB / 0.9552 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.9472, allocations: 5.812 kB / 0.9552 GB, free: 4.203 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 8.191e-05/0.9473, allocations: 208.9 kB / 0.9554 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.9474, allocations: 116.8 kB / 0.9555 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.9474, allocations: 113.4 kB / 0.9556 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.9474, allocations: 181.9 kB / 0.9557 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.528e-05/0.9475, allocations: 181.9 kB / 0.9559 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/0.9475, allocations: 188.2 kB / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.9477, allocations: 440.3 kB / 0.9565 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.9477, allocations: 109 kB / 0.9566 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.9477, allocations: 103.7 kB / 0.9567 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.337e-05/0.9477, allocations: 181.1 kB / 0.9569 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.9478, allocations: 185.5 kB / 0.9571 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/0.9478, allocations: 181.4 kB / 0.9572 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.519e-05/0.9478, allocations: 185.3 kB / 0.9574 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.972e-05/0.9479, allocations: 313.6 kB / 0.9577 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.948, allocations: 194.1 kB / 0.9579 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.948, allocations: 197.2 kB / 0.9581 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.9481, allocations: 102 kB / 0.9582 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.9481, allocations: 177.3 kB / 0.9584 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.9481, allocations: 106.3 kB / 0.9585 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001047/0.9482, allocations: 164.8 kB / 0.9586 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9483, allocations: 0 / 0.9586 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002486/0.9485, allocations: 26.09 kB / 0.9586 GB, free: 0.5273 MB / 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.0003494/0.9489, allocations: 0.8189 MB / 0.9594 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.949, allocations: 82.44 kB / 0.9595 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.949, allocations: 1.531 kB / 0.9595 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.949, allocations: 4.062 kB / 0.9595 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.9494, allocations: 458.7 kB / 0.96 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.9516, allocations: 2.116 MB / 0.962 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.9518, allocations: 0.7076 MB / 0.9627 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.9519, allocations: 13.56 kB / 0.9627 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.9519, allocations: 30.14 kB / 0.9628 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.9519, allocations: 0 / 0.9628 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.971, allocations: 2.726 MB / 0.9654 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.904, allocations: 10.52 kB / 0.9654 GB, free: 11.47 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 & 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