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.001019/0.001019, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008758/0.008758, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.371/1.371, 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 9.1.2-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003981, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7737, allocations: 142.4 MB / 0.9552 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00114/0.7749, allocations: 0.9413 MB / 0.9561 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.7751, allocations: 55.47 kB / 0.9561 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.7752, allocations: 0 / 0.9561 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.7752, allocations: 9.031 kB / 0.9561 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.7754, allocations: 10.8 kB / 0.9562 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.7755, allocations: 7.078 kB / 0.9562 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.673e-05/0.7756, allocations: 32.75 kB / 0.9562 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.7756, allocations: 1.031 kB / 0.9562 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.7757, allocations: 7.484 kB / 0.9562 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.7758, allocations: 19.36 kB / 0.9562 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.7758, allocations: 1.031 kB / 0.9562 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.126e-05/0.7758, allocations: 12.09 kB / 0.9562 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.7759, allocations: 47.66 kB / 0.9563 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.776, allocations: 62.27 kB / 0.9563 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.7761, allocations: 70.66 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7761, allocations: 0 / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7761, allocations: 1.438 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7761, allocations: 0 / 0.9564 GB, free: 6.777 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.0003306/0.7765, allocations: 413.1 kB / 0.9568 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.7765, allocations: 13.22 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.7765, allocations: 111.2 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.7766, allocations: 87.47 kB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.7767, allocations: 264.2 kB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.7767, allocations: 151.6 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.7768, allocations: 150.6 kB / 0.9575 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.975e-05/0.7768, allocations: 105.8 kB / 0.9576 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.7768, allocations: 76.38 kB / 0.9577 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.7769, allocations: 154.5 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.7769, allocations: 150.6 kB / 0.958 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.7769, allocations: 155.6 kB / 0.9582 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.7772, allocations: 0.4928 MB / 0.9586 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.7772, allocations: 170.3 kB / 0.9588 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.7772, allocations: 84.08 kB / 0.9589 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.7773, allocations: 75.28 kB / 0.959 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.7773, allocations: 106.9 kB / 0.9591 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.7773, allocations: 7.938 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.274e-05/0.7774, allocations: 42.14 kB / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7774, allocations: 131.7 kB / 0.9592 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.7776, allocations: 224.8 kB / 0.9594 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.7776, allocations: 29.69 kB / 0.9595 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.7777, allocations: 110.7 kB / 0.9596 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.7777, allocations: 0 / 0.9596 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.7777, allocations: 31.95 kB / 0.9596 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.7778, allocations: 331.1 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.7779, allocations: 52.28 kB / 0.96 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.7779, allocations: 58.83 kB / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.7781, allocations: 136.4 kB / 0.9602 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7781, allocations: 0 / 0.9602 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002825/0.7784, allocations: 178.7 kB / 0.9603 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7784, allocations: 5.812 kB / 0.9603 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.7784, allocations: 0 / 0.9603 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.7784, allocations: 0 / 0.9603 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.7784, allocations: 5.594 kB / 0.9603 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.7784, allocations: 0 / 0.9603 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.7785, allocations: 19.28 kB / 0.9604 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.7785, allocations: 5.562 kB / 0.9604 GB, free: 2.922 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.09e-05/0.7786, allocations: 203.9 kB / 0.9606 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.7786, allocations: 116.5 kB / 0.9607 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.7787, allocations: 118.7 kB / 0.9608 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.7787, allocations: 180.3 kB / 0.961 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/0.7787, allocations: 186 kB / 0.9611 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.7788, allocations: 182 kB / 0.9613 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.7789, allocations: 440.4 kB / 0.9617 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.779, allocations: 105 kB / 0.9618 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.779, allocations: 102.8 kB / 0.9619 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.48e-05/0.779, allocations: 186 kB / 0.9621 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.779, allocations: 176.3 kB / 0.9623 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.388e-05/0.7791, allocations: 186 kB / 0.9624 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.329e-05/0.7791, allocations: 180.2 kB / 0.9626 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.944e-05/0.7792, allocations: 317.9 kB / 0.9629 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.7792, allocations: 194.7 kB / 0.9631 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.7793, allocations: 189.5 kB / 0.9633 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.7794, allocations: 105.3 kB / 0.9634 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.7795, allocations: 177.6 kB / 0.9636 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.7795, allocations: 114.2 kB / 0.9637 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001264/0.7797, allocations: 168 kB / 0.9638 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7797, allocations: 1.375 kB / 0.9638 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002374/0.7799, allocations: 24.44 kB / 0.9639 GB, free: 15.25 MB / 0.7325 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.0003871/0.7803, allocations: 0.8224 MB / 0.9647 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.7804, allocations: 79.91 kB / 0.9647 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7805, allocations: 0 / 0.9647 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.7805, allocations: 1.375 kB / 0.9647 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.7809, allocations: 0.5315 MB / 0.9653 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.7829, allocations: 2.123 MB / 0.9673 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.7832, allocations: 0.7116 MB / 0.968 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.7832, allocations: 9.484 kB / 0.968 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.7833, allocations: 34.17 kB / 0.9681 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.7833, allocations: 0 / 0.9681 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.7957, allocations: 2.534 MB / 0.9705 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.7959, allocations: 211.1 kB / 0.9707 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.663, allocations: 0 / 0.9707 GB, free: 10.07 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