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.001225/0.001225, 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.001145/0.001145, allocations: 196.1 kB / 16.54 MB, free: 6.672 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.569/2.569, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 69.88 kB / 0.9087 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2587, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002094/0.2609, allocations: 1.215 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.2611, allocations: 55.75 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.2611, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.2612, allocations: 3.984 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.2612, allocations: 0 / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2614, allocations: 15.92 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.2614, allocations: 15.98 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.2615, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.2615, allocations: 11.92 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.2616, allocations: 12.69 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2616, allocations: 4 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.381e-05/0.2617, allocations: 8 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.2618, allocations: 52.42 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.2618, allocations: 39.69 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.2619, allocations: 71.94 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2619, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.866e-06/0.2619, allocations: 3.984 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2619, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8262 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.0004159/0.2624, allocations: 425.2 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2624, allocations: 12.03 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.2625, allocations: 110 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.2626, allocations: 92.02 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.2627, allocations: 267.4 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.2628, allocations: 158.4 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.2629, allocations: 150.6 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.247e-05/0.2629, allocations: 112.9 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.263, allocations: 75.28 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.263, allocations: 150.6 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/0.2631, allocations: 154.6 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.535e-05/0.2631, allocations: 150.6 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.2635, allocations: 0.4977 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.2636, allocations: 169.1 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.2636, allocations: 80.14 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.2636, allocations: 75.28 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.2637, allocations: 109.8 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.2637, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.396e-05/0.2638, allocations: 43.36 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.2639, allocations: 130.6 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.2641, allocations: 227 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.2641, allocations: 25.7 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.2642, allocations: 108 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.2642, allocations: 3.984 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.2642, allocations: 45.69 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.2644, allocations: 326.8 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.2645, allocations: 59.95 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.2645, allocations: 51.97 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.2647, allocations: 138.6 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2647, allocations: 0 / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002703/0.265, allocations: 177.4 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.265, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.265, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.265, allocations: 4.062 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-07/0.265, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.265, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.2651, allocations: 19.69 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2651, allocations: 11.98 kB / 1.07 GB, free: 8.375 MB / 0.8262 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.0001109/0.2652, allocations: 197 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.2653, allocations: 116.8 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.2654, allocations: 125.5 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.589e-05/0.2654, allocations: 180.2 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.931e-05/0.2655, allocations: 176.3 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.002e-05/0.2656, allocations: 184.2 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.2659, allocations: 445.1 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-05/0.2659, allocations: 104.9 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.2659, allocations: 113 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.811e-05/0.266, allocations: 184.2 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/0.2661, allocations: 180.2 kB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.497e-05/0.2662, allocations: 176.3 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-05/0.2662, allocations: 184.2 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.2664, allocations: 319.8 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.2665, allocations: 193.9 kB / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.2666, allocations: 180.3 kB / 1.072 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.2667, allocations: 108.9 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.2667, allocations: 176.3 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.2668, allocations: 112.9 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001259/0.2669, allocations: 159.2 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2669, allocations: 0 / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002194/0.2672, allocations: 20 kB / 1.073 GB, free: 4.594 MB / 0.8262 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.0004238/0.2676, allocations: 0.8203 MB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2677, allocations: 79.95 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2677, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.2677, allocations: 3.938 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2681, allocations: 459.7 kB / 1.074 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.27, allocations: 2.121 MB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.2704, allocations: 0.7157 MB / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.2704, allocations: 7.984 kB / 1.077 GB, free: 268 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.2704, allocations: 31.42 kB / 1.077 GB, free: 240 kB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2704, allocations: 0 / 1.077 GB, free: 240 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2004/0.4709, allocations: 2.738 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.314/9.785, allocations: 9.797 kB / 1.08 GB, free: 13.58 MB / 0.8419 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