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.001551/0.001551, allocations: 108 kB / 15.6 MB, free: 132 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.001836/0.001836, allocations: 192 kB / 16.53 MB, free: 6.391 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.625/1.625, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.497/2.497, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7585, allocations: 140.4 MB / 0.9497 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002632/0.7612, allocations: 1.205 MB / 0.9509 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.7615, allocations: 52.14 kB / 0.9509 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.7616, allocations: 0 / 0.9509 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.7616, allocations: 1.938 kB / 0.9509 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.7618, allocations: 13.31 kB / 0.951 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.7619, allocations: 3.656 kB / 0.951 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.762, allocations: 24.73 kB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.7621, allocations: 1.344 kB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.7621, allocations: 8.016 kB / 0.951 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.7622, allocations: 12.67 kB / 0.951 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.7622, allocations: 1.188 kB / 0.951 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.792e-05/0.7623, allocations: 11.81 kB / 0.951 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.7624, allocations: 44 kB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.7624, allocations: 41.41 kB / 0.9511 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.7626, allocations: 75.05 kB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7626, allocations: 5.844 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7626, allocations: 0 / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.7627, allocations: 0 / 0.9512 GB, free: 7.949 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.0004187/0.7631, allocations: 425.8 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7631, allocations: 9.5 kB / 0.9516 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.449e-05/0.7632, allocations: 107.2 kB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.7632, allocations: 87.53 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.7634, allocations: 269.6 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.7634, allocations: 154.5 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.7634, allocations: 156.6 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.846e-05/0.7635, allocations: 101 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7635, allocations: 75.28 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.7635, allocations: 154.5 kB / 0.9526 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.7636, allocations: 156.4 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.7636, allocations: 150.6 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.7639, allocations: 0.4955 MB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.004e-05/0.7639, allocations: 166.1 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.764, allocations: 81.45 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.764, allocations: 87.16 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.764, allocations: 111.6 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.764, allocations: 0 / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.106e-05/0.7641, allocations: 37.78 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.7642, allocations: 130.6 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.7644, allocations: 228.5 kB / 0.9542 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.7644, allocations: 27.42 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.7645, allocations: 109.7 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.7645, allocations: 4 kB / 0.9544 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.7645, allocations: 39.69 kB / 0.9544 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.7646, allocations: 330.8 kB / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.7647, allocations: 54.22 kB / 0.9548 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.7648, allocations: 60.95 kB / 0.9548 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.765, allocations: 141.1 kB / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.765, allocations: 1.281 kB / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000321/0.7653, allocations: 173.8 kB / 0.9551 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7653, allocations: 5.719 kB / 0.9551 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7653, allocations: 4 kB / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7654, allocations: 0 / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.7654, allocations: 1.219 kB / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7654, allocations: 0 / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.7654, allocations: 18.55 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.7655, allocations: 5.781 kB / 0.9552 GB, free: 4.082 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.831e-05/0.7656, allocations: 208.8 kB / 0.9554 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.7656, allocations: 112.7 kB / 0.9555 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.7657, allocations: 121.7 kB / 0.9556 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.7657, allocations: 181.4 kB / 0.9558 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.791e-05/0.7657, allocations: 177.9 kB / 0.9559 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/0.7658, allocations: 180.3 kB / 0.9561 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.7659, allocations: 443.9 kB / 0.9565 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.766, allocations: 106.3 kB / 0.9566 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.766, allocations: 107.8 kB / 0.9567 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-05/0.766, allocations: 176.3 kB / 0.9569 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.7661, allocations: 181.3 kB / 0.9571 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.997e-05/0.7661, allocations: 181.3 kB / 0.9572 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-05/0.7661, allocations: 181.5 kB / 0.9574 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.658e-05/0.7662, allocations: 318.7 kB / 0.9577 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.7663, allocations: 200.5 kB / 0.9579 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.7663, allocations: 181.8 kB / 0.9581 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.7664, allocations: 102 kB / 0.9582 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.7664, allocations: 189.4 kB / 0.9584 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.7665, allocations: 102.4 kB / 0.9585 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001313/0.7666, allocations: 168.5 kB / 0.9586 GB, free: 432 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7666, allocations: 0 / 0.9586 GB, free: 432 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002718/0.7669, allocations: 26.41 kB / 0.9586 GB, free: 424 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.0003797/0.7673, allocations: 0.8216 MB / 0.9594 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.7674, allocations: 84.05 kB / 0.9595 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7674, allocations: 0 / 0.9595 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.7675, allocations: 1.156 kB / 0.9595 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.7679, allocations: 459.1 kB / 0.96 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.7701, allocations: 2.116 MB / 0.962 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.7704, allocations: 0.7122 MB / 0.9627 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.7704, allocations: 9.578 kB / 0.9627 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.7705, allocations: 33.61 kB / 0.9628 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7705, allocations: 0 / 0.9628 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.793, allocations: 2.723 MB / 0.9654 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.857, allocations: 14.61 kB / 0.9654 GB, free: 11.36 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