Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_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.001314/0.001314, allocations: 112.5 kB / 15.73 MB, free: 76 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.00127/0.00127, allocations: 189.1 kB / 16.67 MB, free: 6.582 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 68.12 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3017, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002234/0.304, allocations: 1.215 MB / 1.243 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002345/0.3042, allocations: 59.81 kB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.3043, allocations: 0 / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.3043, allocations: 4 kB / 1.243 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.3044, allocations: 7.922 kB / 1.243 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.3046, allocations: 4 kB / 1.243 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.773e-05/0.3046, allocations: 23.91 kB / 1.243 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.3047, allocations: 0 / 1.243 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.3047, allocations: 8 kB / 1.243 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.3048, allocations: 16.67 kB / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3048, allocations: 0 / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.3049, allocations: 4 kB / 1.243 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.305, allocations: 52.42 kB / 1.243 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.305, allocations: 39.69 kB / 1.243 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.3051, allocations: 71.59 kB / 1.243 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3052, allocations: 0 / 1.243 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3052, allocations: 0 / 1.243 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3052, allocations: 0 / 1.243 GB, free: 8.734 MB / 0.9981 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.0004493/0.3056, allocations: 440.7 kB / 1.243 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3057, allocations: 11.97 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.783e-05/0.3057, allocations: 106 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.3058, allocations: 88.12 kB / 1.243 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.306, allocations: 275.4 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.3061, allocations: 154.5 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.3062, allocations: 158.6 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.978e-05/0.3062, allocations: 101 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.3063, allocations: 79.28 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.3063, allocations: 150.6 kB / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/0.3064, allocations: 150.6 kB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.3065, allocations: 158.5 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.3068, allocations: 0.4978 MB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.307, allocations: 165.1 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.307, allocations: 80.14 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.307, allocations: 75.28 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.3071, allocations: 117.8 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3071, allocations: 0 / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.134e-05/0.3072, allocations: 37.61 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.3073, allocations: 130.7 kB / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.3075, allocations: 220.2 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3075, allocations: 25.7 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.3076, allocations: 120 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3076, allocations: 0 / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.3077, allocations: 41.69 kB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3078, allocations: 330.8 kB / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/0.3079, allocations: 55.97 kB / 1.246 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.308, allocations: 59.95 kB / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3082, allocations: 139 kB / 1.247 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3082, allocations: 0 / 1.247 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003147/0.3085, allocations: 177.5 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3085, allocations: 4.781 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3086, allocations: 4.062 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3086, allocations: 0 / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.3086, allocations: 0 / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.3086, allocations: 0 / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.3086, allocations: 15.84 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3087, allocations: 4 kB / 1.247 GB, free: 4.395 MB / 0.9981 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.0001341/0.3088, allocations: 205.6 kB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.3089, allocations: 116.8 kB / 1.247 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.952e-05/0.309, allocations: 129.5 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-05/0.309, allocations: 180.2 kB / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.778e-05/0.3091, allocations: 176.3 kB / 1.248 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.059e-05/0.3092, allocations: 176.3 kB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.3095, allocations: 453.1 kB / 1.248 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.3096, allocations: 105 kB / 1.248 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.3096, allocations: 104.9 kB / 1.248 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-05/0.3097, allocations: 180.3 kB / 1.249 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.3098, allocations: 176.5 kB / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.588e-05/0.3098, allocations: 184.2 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.177e-05/0.3099, allocations: 180.3 kB / 1.249 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3101, allocations: 323.6 kB / 1.249 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.3102, allocations: 194 kB / 1.25 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.3103, allocations: 180.2 kB / 1.25 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3104, allocations: 109 kB / 1.25 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.3105, allocations: 184.2 kB / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.3105, allocations: 101 kB / 1.25 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001376/0.3107, allocations: 159.5 kB / 1.25 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3107, allocations: 0 / 1.25 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000251/0.3109, allocations: 23.94 kB / 1.25 GB, free: 0.6055 MB / 0.9981 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.5261/0.8371, allocations: 0.8213 MB / 1.251 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.8373, allocations: 77.8 kB / 1.251 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8373, allocations: 2.5 kB / 1.251 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.8373, allocations: 0.8125 kB / 1.251 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.8376, allocations: 457.5 kB / 1.252 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.8395, allocations: 2.12 MB / 1.254 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.8396, allocations: 0.7116 MB / 1.254 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.8397, allocations: 8.344 kB / 1.254 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.8397, allocations: 33.25 kB / 1.254 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.8397, allocations: 2.531 kB / 1.254 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.863, allocations: 2.778 MB / 1.257 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/8.503, allocations: 9.281 kB / 1.257 GB, free: 12.72 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches