Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.001348/0.001348, allocations: 107.6 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.002157/0.002157, 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.476/1.476, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.231/3.231, allocations: 497.2 MB / 0.7811 GB, free: 33.74 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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.52 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3732, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001879/0.3751, allocations: 0.5157 MB / 1.304 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.3752, allocations: 23.89 kB / 1.304 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.3753, allocations: 0 / 1.304 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.3753, allocations: 4 kB / 1.304 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.3754, allocations: 0 / 1.304 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.3754, allocations: 0 / 1.304 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.096e-05/0.3755, allocations: 11.94 kB / 1.304 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.3755, allocations: 3.984 kB / 1.304 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.3756, allocations: 3.938 kB / 1.304 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.3756, allocations: 7.984 kB / 1.305 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3756, allocations: 0 / 1.305 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-06/0.3756, allocations: 0 / 1.305 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.3756, allocations: 4 kB / 1.305 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.3757, allocations: 0 / 1.305 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.975e-05/0.3757, allocations: 7.938 kB / 1.305 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3757, allocations: 0 / 1.305 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3757, allocations: 0 / 1.305 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.3757, allocations: 0 / 1.305 GB, free: 0.9961 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003594/0.3761, allocations: 319.8 kB / 1.305 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3761, allocations: 8.922 kB / 1.305 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.3762, allocations: 34.73 kB / 1.305 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.3762, allocations: 4.938 kB / 1.305 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3763, allocations: 168.3 kB / 1.305 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3763, allocations: 384 / 1.305 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-06/0.3764, allocations: 4.312 kB / 1.305 GB, free: 380 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3765, allocations: 43.97 kB / 1.305 GB, free: 324 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3765, allocations: 3.938 kB / 1.305 GB, free: 320 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.3765, allocations: 0 / 1.305 GB, free: 320 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3765, allocations: 0 / 1.305 GB, free: 320 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.3765, allocations: 11.94 kB / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.3767, allocations: 158.6 kB / 1.305 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.3768, allocations: 33.16 kB / 1.305 GB, free: 44 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.3768, allocations: 13.84 kB / 1.305 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3769, allocations: 3.938 kB / 1.305 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.3769, allocations: 34.56 kB / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3769, allocations: 0 / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.3771, allocations: 53.56 kB / 1.305 GB, free: 15.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.3771, allocations: 77.11 kB / 1.305 GB, free: 15.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.3772, allocations: 89.86 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3772, allocations: 33.7 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.3773, allocations: 80.52 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3773, allocations: 11.89 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.3774, allocations: 17.7 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3775, allocations: 311.2 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.3775, allocations: 0 / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.3775, allocations: 17.72 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.3776, allocations: 21.72 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3776, allocations: 0 / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.292e-05/0.3777, allocations: 45.64 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.3777, allocations: 11.94 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3777, allocations: 0 / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3777, allocations: 0 / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.3778, allocations: 7.938 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3778, allocations: 3.984 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.3778, allocations: 0 / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3778, allocations: 4.062 kB / 1.306 GB, free: 15.13 MB / 1.014 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 8.616e-05/0.3779, allocations: 113.8 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.3779, allocations: 7.922 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.3781, allocations: 44.77 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3781, allocations: 7.984 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3781, allocations: 0 / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3781, allocations: 4 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3782, allocations: 161.7 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3782, allocations: 0 / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.3783, allocations: 4 kB / 1.306 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.3783, allocations: 7.922 kB / 1.306 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.3783, allocations: 3.938 kB / 1.306 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3783, allocations: 0 / 1.306 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3783, allocations: 0 / 1.306 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3784, allocations: 73.94 kB / 1.306 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.3785, allocations: 81.09 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3785, allocations: 3.938 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/0.3785, allocations: 0 / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.3785, allocations: 4 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.3785, allocations: 0 / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.3786, allocations: 75.28 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3786, allocations: 0 / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001977/0.3788, allocations: 11.94 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004891/0.3793, allocations: 0.6094 MB / 1.307 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.05e-05/0.3793, allocations: 7.984 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3794, allocations: 8.156 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.3794, allocations: 7.938 kB / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3795, allocations: 4 kB / 1.307 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.3799, allocations: 123.4 kB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3802, allocations: 0.669 MB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.3803, allocations: 4 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.3803, allocations: 7.438 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.3803, allocations: 4.125 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.4053, allocations: 0.9256 MB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.209, allocations: 13.77 kB / 1.309 GB, free: 12.03 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.791545980144292]