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.007098/0.007099, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001893/0.001893, allocations: 194 kB / 16.67 MB, free: 5.969 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.531/2.531, allocations: 482.6 MB / 0.7551 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 63.91 kB / 1.083 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.6237, allocations: 162.3 MB / 1.242 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001886/0.6256, allocations: 1.211 MB / 1.243 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002067/0.6258, allocations: 65.56 kB / 1.243 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.6259, allocations: 0 / 1.243 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.6259, allocations: 0 / 1.243 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.626, allocations: 11.98 kB / 1.243 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.6261, allocations: 11.94 kB / 1.243 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.6262, allocations: 19.91 kB / 1.243 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.6263, allocations: 0 / 1.243 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.6263, allocations: 8 kB / 1.243 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.6263, allocations: 8.734 kB / 1.243 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.6264, allocations: 0 / 1.243 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.6264, allocations: 4 kB / 1.243 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.6265, allocations: 56.36 kB / 1.243 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.6265, allocations: 39.75 kB / 1.243 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.6267, allocations: 71.25 kB / 1.243 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.6267, allocations: 0 / 1.243 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6267, allocations: 4 kB / 1.243 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6267, allocations: 0 / 1.243 GB, free: 15.65 MB / 0.9669 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.000398/0.6271, allocations: 434.6 kB / 1.244 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.6271, allocations: 8.031 kB / 1.244 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.6272, allocations: 106 kB / 1.244 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.6273, allocations: 88.12 kB / 1.244 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.6274, allocations: 275.4 kB / 1.244 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.6275, allocations: 154.5 kB / 1.244 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.6276, allocations: 154.5 kB / 1.244 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.46e-05/0.6276, allocations: 105 kB / 1.245 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.6277, allocations: 75.28 kB / 1.245 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.6277, allocations: 154.5 kB / 1.245 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.165e-05/0.6278, allocations: 154.6 kB / 1.245 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.504e-05/0.6278, allocations: 158.5 kB / 1.245 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.6281, allocations: 497.7 kB / 1.246 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.6282, allocations: 177 kB / 1.246 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.6283, allocations: 92.19 kB / 1.246 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.6283, allocations: 75.28 kB / 1.246 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.6284, allocations: 105.8 kB / 1.246 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.6284, allocations: 0 / 1.246 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.929e-05/0.6284, allocations: 37.59 kB / 1.246 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.6285, allocations: 130.7 kB / 1.246 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.6287, allocations: 231.1 kB / 1.246 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6288, allocations: 25.7 kB / 1.246 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.6288, allocations: 112.1 kB / 1.246 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.6288, allocations: 0 / 1.246 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.6289, allocations: 41.69 kB / 1.247 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.629, allocations: 330.8 kB / 1.247 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.6291, allocations: 51.97 kB / 1.247 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-05/0.6292, allocations: 55.95 kB / 1.247 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.6293, allocations: 139.4 kB / 1.247 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6293, allocations: 3.984 kB / 1.247 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002535/0.6296, allocations: 177.4 kB / 1.247 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.6296, allocations: 8 kB / 1.247 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.6296, allocations: 4 kB / 1.247 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.6296, allocations: 0 / 1.247 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.6296, allocations: 0 / 1.247 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6296, allocations: 0 / 1.247 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.6297, allocations: 15.84 kB / 1.247 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.6297, allocations: 4 kB / 1.247 GB, free: 11.31 MB / 0.9669 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.0001144/0.6298, allocations: 209.1 kB / 1.247 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.6299, allocations: 112.9 kB / 1.248 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.6299, allocations: 123.4 kB / 1.248 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.327e-05/0.63, allocations: 176.3 kB / 1.248 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.596e-05/0.6301, allocations: 180.3 kB / 1.248 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.556e-05/0.6302, allocations: 184.2 kB / 1.248 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.6304, allocations: 441.1 kB / 1.249 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/0.6305, allocations: 104.9 kB / 1.249 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.6305, allocations: 105 kB / 1.249 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.704e-05/0.6306, allocations: 180.2 kB / 1.249 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/0.6306, allocations: 176.3 kB / 1.249 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.655e-05/0.6307, allocations: 192.2 kB / 1.249 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-05/0.6308, allocations: 180.2 kB / 1.25 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.6309, allocations: 323.6 kB / 1.25 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.631, allocations: 194 kB / 1.25 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.6311, allocations: 184.2 kB / 1.25 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.6312, allocations: 105.2 kB / 1.25 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.6313, allocations: 180.3 kB / 1.25 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.6313, allocations: 109 kB / 1.251 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001194/0.6314, allocations: 160.6 kB / 1.251 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.6314, allocations: 0 / 1.251 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002121/0.6316, allocations: 19.94 kB / 1.251 GB, free: 7.523 MB / 0.9669 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.0004054/0.6321, allocations: 0.8248 MB / 1.252 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.6322, allocations: 75.91 kB / 1.252 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6322, allocations: 0 / 1.252 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.135e-06/0.6322, allocations: 3.984 kB / 1.252 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.6326, allocations: 461.5 kB / 1.252 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.6344, allocations: 2.125 MB / 1.254 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.6347, allocations: 0.7107 MB / 1.255 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.672e-05/0.6347, allocations: 16.02 kB / 1.255 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.6348, allocations: 31.42 kB / 1.255 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.6348, allocations: 7.938 kB / 1.255 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.57/2.205, allocations: 2.766 MB / 1.258 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/16.46, allocations: 14.78 kB / 1.258 GB, free: 0.5078 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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