Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.498/3.498, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 72.3 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4342, allocations: 176.1 MB / 1.325 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002528/0.4367, allocations: 1.226 MB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.437, allocations: 60.11 kB / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.437, allocations: 0 / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.437, allocations: 4 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.4371, allocations: 4 kB / 1.326 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.4373, allocations: 19.91 kB / 1.326 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.4374, allocations: 11.94 kB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.4374, allocations: 7.984 kB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.4375, allocations: 8 kB / 1.326 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.4375, allocations: 12.72 kB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.4375, allocations: 0 / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.4376, allocations: 4 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.4377, allocations: 56.38 kB / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.4378, allocations: 27.81 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.4379, allocations: 79.75 kB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4379, allocations: 4 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4379, allocations: 0 / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.4379, allocations: 0 / 1.327 GB, free: 0.8906 MB / 1.014 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.0004999/0.4384, allocations: 353.6 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4385, allocations: 8.031 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.4385, allocations: 106 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.4386, allocations: 88.12 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.4388, allocations: 218.3 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.727e-05/0.4389, allocations: 158.4 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.439, allocations: 154.6 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.477e-05/0.4391, allocations: 101 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.4391, allocations: 75.28 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.4392, allocations: 150.6 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.319e-05/0.4393, allocations: 154.6 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.862e-05/0.4393, allocations: 150.6 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.4397, allocations: 464.9 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.4398, allocations: 177.1 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.4398, allocations: 80.14 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.4399, allocations: 91.16 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/0.4399, allocations: 105.8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.4399, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.568e-05/0.44, allocations: 41.55 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.4401, allocations: 126.7 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4404, allocations: 239 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4404, allocations: 25.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.4405, allocations: 112.1 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.4405, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.115e-05/0.4406, allocations: 41.69 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4407, allocations: 330.8 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.4408, allocations: 55.97 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.4409, allocations: 55.95 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.4411, allocations: 134.8 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4411, allocations: 0 / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003269/0.4414, allocations: 183.6 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4414, allocations: 4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4414, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4414, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.4414, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4414, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.4415, allocations: 23.84 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4415, allocations: 8 kB / 1.33 GB, free: 12.75 MB / 1.029 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.0001544/0.4417, allocations: 212.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.4417, allocations: 112.9 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.4418, allocations: 117.4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-05/0.4419, allocations: 180.3 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.553e-05/0.442, allocations: 184.2 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.852e-05/0.4421, allocations: 176.3 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.4424, allocations: 412.2 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.963e-05/0.4424, allocations: 109 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.4425, allocations: 109 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-05/0.4426, allocations: 184.2 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/0.4427, allocations: 180.2 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.066e-05/0.4428, allocations: 180.3 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.249e-05/0.4429, allocations: 188.2 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.443, allocations: 319.8 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.4431, allocations: 112.9 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4432, allocations: 184.3 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4433, allocations: 108.9 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.4434, allocations: 176.3 kB / 1.333 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.4435, allocations: 104.9 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001525/0.4436, allocations: 168.5 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4436, allocations: 0 / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002595/0.4439, allocations: 20 kB / 1.334 GB, free: 9.094 MB / 1.029 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.0005133/0.4444, allocations: 0.8203 MB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.4445, allocations: 59.91 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4445, allocations: 0 / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.4445, allocations: 4 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.445, allocations: 463.7 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.4473, allocations: 2.134 MB / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.4474, allocations: 102.6 kB / 1.337 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.4474, allocations: 15.92 kB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.4475, allocations: 31.42 kB / 1.337 GB, free: 5.352 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.4475, allocations: 0 / 1.337 GB, free: 5.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.4789, allocations: 3.284 MB / 1.34 GB, free: 2.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.82, allocations: 2.406 kB / 1.34 GB, free: 2.184 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.135440496262163]