Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.001371/0.001371, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.00172/0.00172, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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 2.775/2.775, allocations: 497.2 MB / 0.7812 GB, free: 12.04 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7891, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001409/0.7906, allocations: 0.5246 MB / 1.304 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001508/0.7907, allocations: 44.53 kB / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.7907, allocations: 0 / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.7908, allocations: 4 kB / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.7909, allocations: 6.938 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.917e-05/0.7909, allocations: 4 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.791, allocations: 9.172 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.791, allocations: 2.969 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.7911, allocations: 14.12 kB / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.7911, allocations: 11.05 kB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.7911, allocations: 0 / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.7911, allocations: 3.281 kB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.7912, allocations: 7.172 kB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.7912, allocations: 7.438 kB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.873e-05/0.7913, allocations: 11.91 kB / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7913, allocations: 0 / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7913, allocations: 0 / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.7913, allocations: 0 / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003635/0.7916, allocations: 330.4 kB / 1.305 GB, free: 31.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7917, allocations: 14 kB / 1.305 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.195e-05/0.7917, allocations: 30.75 kB / 1.305 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.962e-05/0.7917, allocations: 0.9375 kB / 1.305 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.7919, allocations: 181.6 kB / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-06/0.7919, allocations: 4.375 kB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.7919, allocations: 3.5 kB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.639e-05/0.792, allocations: 28.67 kB / 1.305 GB, free: 31.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.792, allocations: 7.875 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.792, allocations: 7.406 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.792, allocations: 0 / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.792, allocations: 2.75 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.7921, allocations: 158.1 kB / 1.305 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.283e-05/0.7921, allocations: 21.33 kB / 1.305 GB, free: 30.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.7921, allocations: 10.84 kB / 1.305 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.7921, allocations: 0 / 1.305 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.7922, allocations: 37.28 kB / 1.305 GB, free: 30.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.7922, allocations: 3.938 kB / 1.305 GB, free: 30.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.7923, allocations: 45.22 kB / 1.305 GB, free: 30.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.7923, allocations: 55.14 kB / 1.305 GB, free: 30.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.7924, allocations: 116.5 kB / 1.306 GB, free: 30.6 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.7924, allocations: 28.7 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.7924, allocations: 84.14 kB / 1.306 GB, free: 30.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.7924, allocations: 7.891 kB / 1.306 GB, free: 30.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.7924, allocations: 12.59 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.7925, allocations: 318.2 kB / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.7925, allocations: 2.812 kB / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.7925, allocations: 22.8 kB / 1.306 GB, free: 30.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.7925, allocations: 19.72 kB / 1.306 GB, free: 30.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7925, allocations: 0 / 1.306 GB, free: 30.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.031e-05/0.7926, allocations: 54.84 kB / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.7926, allocations: 9.312 kB / 1.306 GB, free: 30.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7926, allocations: 0 / 1.306 GB, free: 30.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.7926, allocations: 128 / 1.306 GB, free: 30.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.7927, allocations: 6.812 kB / 1.306 GB, free: 30.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.7927, allocations: 3.062 kB / 1.306 GB, free: 30.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.7927, allocations: 0 / 1.306 GB, free: 30.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.7927, allocations: 0 / 1.306 GB, free: 30.06 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 4.382e-05/0.7928, allocations: 116.6 kB / 1.306 GB, free: 29.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.7928, allocations: 7.891 kB / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.7928, allocations: 51.83 kB / 1.306 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7928, allocations: 3.188 kB / 1.306 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.7928, allocations: 4.031 kB / 1.306 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.7928, allocations: 2.969 kB / 1.306 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.883e-05/0.7929, allocations: 152 kB / 1.306 GB, free: 29.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7929, allocations: 0 / 1.306 GB, free: 29.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.793, allocations: 6.125 kB / 1.306 GB, free: 29.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.793, allocations: 3.938 kB / 1.306 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.793, allocations: 4 kB / 1.306 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.793, allocations: 3.375 kB / 1.306 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.793, allocations: 0 / 1.306 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.899e-05/0.7931, allocations: 82.19 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.7931, allocations: 80.08 kB / 1.307 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.7931, allocations: 7.875 kB / 1.307 GB, free: 29.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.7931, allocations: 3.938 kB / 1.307 GB, free: 29.51 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.7931, allocations: 6.266 kB / 1.307 GB, free: 29.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.7931, allocations: 0 / 1.307 GB, free: 29.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.594e-05/0.7932, allocations: 89.22 kB / 1.307 GB, free: 29.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7932, allocations: 0 / 1.307 GB, free: 29.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001787/0.7933, allocations: 7.156 kB / 1.307 GB, free: 29.42 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0002086/0.7935, allocations: 0.6174 MB / 1.307 GB, free: 28.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.7936, allocations: 19.94 kB / 1.307 GB, free: 28.81 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7936, allocations: 4.219 kB / 1.307 GB, free: 28.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.7936, allocations: 6.844 kB / 1.307 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.7938, allocations: 9.625 kB / 1.307 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.7944, allocations: 1.147 MB / 1.309 GB, free: 27.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.359e-05/0.7945, allocations: 0.6778 MB / 1.309 GB, free: 26.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.7945, allocations: 3.375 kB / 1.309 GB, free: 26.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.7945, allocations: 10.25 kB / 1.309 GB, free: 26.97 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.7945, allocations: 0 / 1.309 GB, free: 26.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.8229, allocations: 1.194 MB / 1.31 GB, free: 26.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.674, allocations: 9.875 kB / 1.31 GB, free: 26.61 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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: 14.554901689756662]