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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009582/0.0009582, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007577/0.007577, allocations: 169 kB / 16.26 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.618/2.618, allocations: 443.3 MB / 0.7176 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 5.75 kB / 0.8797 GB, free: 41.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3403, allocations: 155.2 MB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001235/0.3416, allocations: 0.936 MB / 1.032 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.3418, allocations: 59.75 kB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.3419, allocations: 4 kB / 1.032 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.3419, allocations: 4 kB / 1.032 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.3421, allocations: 7.938 kB / 1.032 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.3422, allocations: 15.97 kB / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.3423, allocations: 27.97 kB / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.3423, allocations: 7.938 kB / 1.032 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.3423, allocations: 4 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.3424, allocations: 17.47 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3424, allocations: 3.938 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.3425, allocations: 8 kB / 1.032 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.3426, allocations: 48.44 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.3426, allocations: 65.39 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3427, allocations: 67.94 kB / 1.032 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3427, allocations: 4 kB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3428, allocations: 0 / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3428, allocations: 0 / 1.032 GB, free: 2.973 MB / 0.7794 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.0003527/0.3431, allocations: 414.8 kB / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3432, allocations: 12.03 kB / 1.033 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.3432, allocations: 110 kB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.3433, allocations: 92.03 kB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3434, allocations: 262.6 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.3435, allocations: 150.6 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.3436, allocations: 170.4 kB / 1.034 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.337e-05/0.3436, allocations: 101 kB / 1.034 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.3436, allocations: 79.28 kB / 1.034 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.3437, allocations: 154.5 kB / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.3437, allocations: 150.6 kB / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.3438, allocations: 154.5 kB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3441, allocations: 0.4905 MB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.3442, allocations: 173.1 kB / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.3442, allocations: 80.14 kB / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3442, allocations: 75.28 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.3443, allocations: 117.9 kB / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3443, allocations: 0 / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.122e-05/0.3444, allocations: 45.61 kB / 1.035 GB, free: 16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3444, allocations: 130.6 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.3447, allocations: 227 kB / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3447, allocations: 29.69 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.3447, allocations: 116 kB / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.3448, allocations: 0 / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3448, allocations: 25.7 kB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3449, allocations: 334.8 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/0.345, allocations: 55.97 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.345, allocations: 56.52 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3452, allocations: 136.3 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3452, allocations: 0 / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002835/0.3455, allocations: 177.4 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3455, allocations: 4 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3455, allocations: 0 / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.3455, allocations: 0 / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3456, allocations: 4 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3456, allocations: 0 / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.3456, allocations: 19.75 kB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.3456, allocations: 8 kB / 1.036 GB, free: 14.64 MB / 0.795 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.0001138/0.3458, allocations: 206.6 kB / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.3458, allocations: 112.8 kB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.56e-05/0.3459, allocations: 121.5 kB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-05/0.3459, allocations: 176.3 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-05/0.346, allocations: 184.1 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-05/0.346, allocations: 188.1 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.3463, allocations: 433.2 kB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.3463, allocations: 108.9 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.3463, allocations: 105 kB / 1.038 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.176e-05/0.3464, allocations: 180.3 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.3465, allocations: 180.2 kB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.517e-05/0.3465, allocations: 176.3 kB / 1.039 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.533e-05/0.3466, allocations: 188.2 kB / 1.039 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.3467, allocations: 315.8 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.3468, allocations: 193.9 kB / 1.039 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.3469, allocations: 192.2 kB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.3469, allocations: 104.9 kB / 1.039 GB, free: 11.35 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.347, allocations: 184.3 kB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.347, allocations: 108.9 kB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00011/0.3472, allocations: 156.6 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3472, allocations: 8 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002313/0.3474, allocations: 16 kB / 1.04 GB, free: 10.87 MB / 0.795 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.0003636/0.3478, allocations: 0.8125 MB / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.3479, allocations: 75.97 kB / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3479, allocations: 0 / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.3479, allocations: 3.938 kB / 1.041 GB, free: 9.953 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3483, allocations: 0.532 MB / 1.041 GB, free: 9.418 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3502, allocations: 2.143 MB / 1.043 GB, free: 7.195 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3505, allocations: 0.7108 MB / 1.044 GB, free: 6.461 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.106e-05/0.3505, allocations: 11.98 kB / 1.044 GB, free: 6.449 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.3505, allocations: 31.45 kB / 1.044 GB, free: 6.418 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.3505, allocations: 3.938 kB / 1.044 GB, free: 6.414 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.3722, allocations: 2.536 MB / 1.047 GB, free: 4.047 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.3725, allocations: 226.7 kB / 1.047 GB, free: 3.785 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.166, allocations: 2.031 kB / 1.047 GB, free: 3.785 MB / 0.795 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=50 --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