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.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.001281/0.001281, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001633/0.001633, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.872/2.872, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="cs",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.002134/0.002134, allocations: 67.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7804, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001471/0.7819, allocations: 0.5346 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.782, allocations: 16.78 kB / 1.341 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.782, allocations: 1.219 kB / 1.341 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.782, allocations: 0 / 1.341 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.7822, allocations: 10.59 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.7822, allocations: 0 / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.7822, allocations: 3 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.7823, allocations: 4.656 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.7823, allocations: 1.766 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.365e-05/0.7823, allocations: 5.688 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.7823, allocations: 1.344 kB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-06/0.7823, allocations: 4 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.916e-06/0.7824, allocations: 0 / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.404e-05/0.7824, allocations: 5.172 kB / 1.341 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 4.56e-05/0.7824, allocations: 5.641 kB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7824, allocations: 0.6094 kB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7824, allocations: 1.094 kB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.7824, allocations: 0 / 1.341 GB, free: 15.89 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002166/0.7826, allocations: 320.6 kB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.7827, allocations: 9.719 kB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.651e-05/0.7827, allocations: 8.125 kB / 1.341 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.608e-05/0.7827, allocations: 32.52 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.018e-05/0.7827, allocations: 0.9375 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.7828, allocations: 166.5 kB / 1.341 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.7828, allocations: 1.594 kB / 1.341 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.7828, allocations: 384 / 1.341 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.603e-05/0.7829, allocations: 50.7 kB / 1.341 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.7829, allocations: 4 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.7829, allocations: 3.938 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7829, allocations: 5.031 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.7829, allocations: 2.953 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.7831, allocations: 154.7 kB / 1.341 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.7831, allocations: 37.7 kB / 1.341 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.7831, allocations: 16.58 kB / 1.341 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.7831, allocations: 0.5625 kB / 1.341 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.7832, allocations: 45.91 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.7832, allocations: 0 / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000126/0.7833, allocations: 41.23 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.7833, allocations: 77.11 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.45e-05/0.7834, allocations: 101.7 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.7834, allocations: 25.7 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.788e-06/0.7834, allocations: 80.14 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.7834, allocations: 5.641 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.7834, allocations: 13.06 kB / 1.342 GB, free: 14.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.7834, allocations: 316.6 kB / 1.342 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.7835, allocations: 1.953 kB / 1.342 GB, free: 14.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.7835, allocations: 21.83 kB / 1.342 GB, free: 14.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.7835, allocations: 14.94 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7835, allocations: 1.031 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.294e-05/0.7836, allocations: 44.55 kB / 1.342 GB, free: 14.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.7836, allocations: 9.344 kB / 1.342 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.7836, allocations: 0 / 1.342 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7836, allocations: 1.625 kB / 1.342 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.7836, allocations: 8.75 kB / 1.342 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7836, allocations: 0 / 1.342 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.7837, allocations: 1.594 kB / 1.342 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.7837, allocations: 5 kB / 1.342 GB, free: 14.13 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 3.713e-05/0.7837, allocations: 107.9 kB / 1.342 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.7837, allocations: 9.781 kB / 1.342 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-05/0.7838, allocations: 53.8 kB / 1.342 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7838, allocations: 1.125 kB / 1.342 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7838, allocations: 0 / 1.342 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7838, allocations: 1.828 kB / 1.342 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.271e-05/0.7839, allocations: 146 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7839, allocations: 1.156 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.7839, allocations: 4.016 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.7839, allocations: 4.5 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.7839, allocations: 1.125 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7839, allocations: 1.703 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.7839, allocations: 3.938 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.613e-05/0.784, allocations: 74.09 kB / 1.343 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.784, allocations: 87.59 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.784, allocations: 6.266 kB / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.784, allocations: 0 / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.784, allocations: 5.969 kB / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.784, allocations: 1.906 kB / 1.343 GB, free: 13.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.279e-05/0.784, allocations: 80.34 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.784, allocations: 1.062 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001699/0.7842, allocations: 1.031 kB / 1.343 GB, free: 13.5 MB / 1.061 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.0002037/0.7844, allocations: 0.6057 MB / 1.343 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.695e-05/0.7845, allocations: 11.55 kB / 1.343 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7845, allocations: 3.938 kB / 1.343 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.7845, allocations: 4.375 kB / 1.343 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.7846, allocations: 2 kB / 1.343 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.7849, allocations: 123.1 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.2e-05/0.785, allocations: 0.6773 MB / 1.344 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.785, allocations: 1.797 kB / 1.344 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.785, allocations: 9.5 kB / 1.344 GB, free: 12.02 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.785, allocations: 0 / 1.344 GB, free: 12.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.8017, allocations: 0.9703 MB / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.874, allocations: 9.672 kB / 1.345 GB, free: 11.66 MB / 1.061 GB " [Timeout remaining time 291] (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/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.902441765996628]