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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 110 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.402/3.402, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 68.02 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4399, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002653/0.4425, allocations: 1.214 MB / 1.305 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.4428, allocations: 55.81 kB / 1.305 GB, free: 304 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.4429, allocations: 0 / 1.305 GB, free: 304 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.4429, allocations: 0 / 1.305 GB, free: 304 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.443, allocations: 11.92 kB / 1.305 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.4432, allocations: 4 kB / 1.305 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.4433, allocations: 27.84 kB / 1.305 GB, free: 260 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.4433, allocations: 4 kB / 1.305 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.4434, allocations: 8 kB / 1.305 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.4434, allocations: 12.73 kB / 1.305 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.4435, allocations: 0 / 1.305 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.841e-05/0.4435, allocations: 11.98 kB / 1.305 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.4437, allocations: 44.44 kB / 1.305 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.4437, allocations: 39.69 kB / 1.305 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.4439, allocations: 75.81 kB / 1.305 GB, free: 60 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4439, allocations: 0 / 1.305 GB, free: 60 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4439, allocations: 0 / 1.305 GB, free: 60 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4439, allocations: 4 kB / 1.305 GB, free: 56 kB / 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.00064/0.4445, allocations: 426.8 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.4446, allocations: 8.625 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.4447, allocations: 110 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.994e-05/0.4448, allocations: 88.06 kB / 1.306 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.445, allocations: 275.4 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.4451, allocations: 158.5 kB / 1.306 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4452, allocations: 154.6 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.4453, allocations: 101.4 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.4453, allocations: 79.28 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.254e-05/0.4454, allocations: 150.6 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.983e-05/0.4455, allocations: 150.6 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.4456, allocations: 158.5 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.446, allocations: 0.4978 MB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.4462, allocations: 165.1 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.4462, allocations: 80.14 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.4463, allocations: 83.28 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.4463, allocations: 105.8 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4463, allocations: 0 / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001091/0.4465, allocations: 41.55 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/0.4465, allocations: 130.7 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.4468, allocations: 231.7 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4468, allocations: 25.7 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4469, allocations: 120.1 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.4469, allocations: 0 / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.447, allocations: 37.69 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4472, allocations: 330.8 kB / 1.309 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.4473, allocations: 59.95 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.4473, allocations: 51.97 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.4475, allocations: 139.1 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4475, allocations: 4 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003846/0.4479, allocations: 174.8 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4479, allocations: 8 kB / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4479, allocations: 0 / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.448, allocations: 0 / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.448, allocations: 0 / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.448, allocations: 0 / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.448, allocations: 19.78 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.448, allocations: 4 kB / 1.309 GB, free: 11.71 MB / 1.014 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.0001773/0.4482, allocations: 213 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.4483, allocations: 116.9 kB / 1.31 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.4484, allocations: 117.5 kB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/0.4485, allocations: 176.3 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/0.4486, allocations: 184.2 kB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/0.4487, allocations: 180.3 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.449, allocations: 449.1 kB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.704e-05/0.4491, allocations: 101 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.4492, allocations: 101 kB / 1.311 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.4493, allocations: 184.2 kB / 1.311 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.4494, allocations: 180.2 kB / 1.311 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001069/0.4495, allocations: 180.2 kB / 1.311 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001149/0.4496, allocations: 188.3 kB / 1.312 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.4498, allocations: 315.9 kB / 1.312 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.45, allocations: 194 kB / 1.312 GB, free: 8.699 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.4501, allocations: 188.2 kB / 1.312 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4502, allocations: 108.9 kB / 1.312 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.4503, allocations: 180.3 kB / 1.313 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.4504, allocations: 112.8 kB / 1.313 GB, free: 8.094 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001741/0.4506, allocations: 156.6 kB / 1.313 GB, free: 7.941 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4506, allocations: 0 / 1.313 GB, free: 7.941 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002775/0.4508, allocations: 20 kB / 1.313 GB, free: 7.922 MB / 1.014 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.0007848/0.4516, allocations: 0.8203 MB / 1.314 GB, free: 7.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.4518, allocations: 63.89 kB / 1.314 GB, free: 7.008 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4518, allocations: 0 / 1.314 GB, free: 7.008 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.4518, allocations: 0 / 1.314 GB, free: 7.008 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.4524, allocations: 465.8 kB / 1.314 GB, free: 6.551 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.4554, allocations: 2.13 MB / 1.316 GB, free: 4.344 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.4559, allocations: 0.708 MB / 1.317 GB, free: 3.609 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.879e-05/0.4559, allocations: 11.98 kB / 1.317 GB, free: 3.598 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.4559, allocations: 27.42 kB / 1.317 GB, free: 3.57 MB / 1.014 GB Notification: Performance of SimCode: time 6.32e-07/0.4559, allocations: 0 / 1.317 GB, free: 3.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.4851, allocations: 2.79 MB / 1.32 GB, free: 0.918 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/9.027, allocations: 17.59 kB / 1.32 GB, free: 0.9023 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.404580156784505]