Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_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.004376/0.004376, allocations: 99.19 kB / 15.73 MB, free: 6.492 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.0011/0.001101, allocations: 198.6 kB / 16.68 MB, free: 6.375 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.491/2.491, allocations: 469.8 MB / 0.7425 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 63.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2566, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001882/0.2585, allocations: 1.222 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.2587, allocations: 57.69 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.2588, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.2588, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.684e-05/0.2589, allocations: 11.92 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.259, allocations: 7.984 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.2591, allocations: 19.92 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.2591, allocations: 4 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.2592, allocations: 4 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.2592, allocations: 16.66 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.2592, allocations: 0 / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.2593, allocations: 4 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.2594, allocations: 48.44 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.2594, allocations: 43.69 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.2595, allocations: 71.59 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2595, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2595, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2595, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 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.0003987/0.26, allocations: 440.6 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.26, allocations: 15.97 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.26, allocations: 106 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.2601, allocations: 88.12 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.2603, allocations: 271.4 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.2604, allocations: 158.4 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.2604, allocations: 158.6 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.569e-05/0.2605, allocations: 101 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.2605, allocations: 75.28 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.859e-05/0.2606, allocations: 154.6 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/0.2607, allocations: 150.6 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.2607, allocations: 154.5 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.261, allocations: 0.4939 MB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.2611, allocations: 169.1 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.2612, allocations: 80.14 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.2612, allocations: 75.28 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.2612, allocations: 113.8 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2612, allocations: 0 / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.127e-05/0.2613, allocations: 41.61 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.2614, allocations: 130.7 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.2616, allocations: 231 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2616, allocations: 25.7 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.2617, allocations: 116.1 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.2617, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.2618, allocations: 37.69 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2619, allocations: 330.8 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.262, allocations: 59.95 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.262, allocations: 56.91 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2622, allocations: 143 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2622, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002585/0.2625, allocations: 177.5 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2625, allocations: 4 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2625, allocations: 0 / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.2625, allocations: 0 / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-07/0.2625, allocations: 0 / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.2625, allocations: 4 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/0.2626, allocations: 11.84 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2626, allocations: 12.06 kB / 1.226 GB, free: 8.406 MB / 0.9825 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.0001128/0.2627, allocations: 205 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.2628, allocations: 116.8 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.2628, allocations: 117.5 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-05/0.2629, allocations: 184.1 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.461e-05/0.263, allocations: 176.3 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.706e-05/0.263, allocations: 188.2 kB / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.2633, allocations: 445.1 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/0.2633, allocations: 105 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.2634, allocations: 108.9 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.259e-05/0.2634, allocations: 176.3 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/0.2635, allocations: 184.4 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.644e-05/0.2636, allocations: 180.2 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.741e-05/0.2637, allocations: 184.3 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.2638, allocations: 315.6 kB / 1.228 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.2639, allocations: 194 kB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.264, allocations: 188.2 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.2641, allocations: 101 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.2641, allocations: 184.2 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.2642, allocations: 101 kB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001225/0.2643, allocations: 155.2 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2643, allocations: 0 / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002115/0.2645, allocations: 27.94 kB / 1.229 GB, free: 4.625 MB / 0.9825 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.0004075/0.265, allocations: 0.8208 MB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.2651, allocations: 79.95 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.2651, allocations: 0 / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.2651, allocations: 8.062 kB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.2654, allocations: 455.7 kB / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.2673, allocations: 2.14 MB / 1.232 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.2676, allocations: 0.708 MB / 1.233 GB, free: 300 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.2676, allocations: 12.03 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.2677, allocations: 31.42 kB / 1.233 GB, free: 256 kB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.2677, allocations: 0 / 1.233 GB, free: 256 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.59/5.858, allocations: 2.772 MB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.748/14.61, allocations: 11.98 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches