Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.001304/0.001304, allocations: 102.7 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.001274/0.001274, allocations: 188.6 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.354/1.354, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 443.5 MB / 0.7287 GB, free: 14.73 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 75.86 kB / 1.056 GB, free: 2.664 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2883, allocations: 160.7 MB / 1.213 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002943/0.2912, allocations: 1.548 MB / 1.214 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.2913, allocations: 31.91 kB / 1.214 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.2914, allocations: 0 / 1.214 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.2915, allocations: 7.875 kB / 1.214 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.2916, allocations: 7.938 kB / 1.214 GB, free: 20 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.2917, allocations: 19.97 kB / 1.214 GB, free: 0 / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.2918, allocations: 39.91 kB / 1.215 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2919, allocations: 28.2 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.292, allocations: 31.86 kB / 1.215 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.2921, allocations: 31.89 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2921, allocations: 4 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.2921, allocations: 4 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.2921, allocations: 19.92 kB / 1.215 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.2922, allocations: 27.75 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.2923, allocations: 59.69 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2923, allocations: 0 / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2923, allocations: 4 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2923, allocations: 0 / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004556/0.2928, allocations: 363.3 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2928, allocations: 8.031 kB / 1.215 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.2928, allocations: 42.73 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.2929, allocations: 12.83 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2931, allocations: 188.2 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2931, allocations: 4.375 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2931, allocations: 4.375 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2933, allocations: 100.8 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2933, allocations: 3.938 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2933, allocations: 7.938 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2933, allocations: 4 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.2934, allocations: 35.98 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.294, allocations: 0.6441 MB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.31e-05/0.2941, allocations: 169.1 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.2942, allocations: 80.14 kB / 1.216 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.2942, allocations: 79.28 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.2943, allocations: 105.8 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2943, allocations: 8 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.146e-05/0.2943, allocations: 37.59 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.2944, allocations: 130.6 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.2946, allocations: 164.1 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.2946, allocations: 25.7 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.2947, allocations: 112 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.2947, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.2947, allocations: 13.72 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2948, allocations: 322.8 kB / 1.217 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.2949, allocations: 8 kB / 1.217 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.2949, allocations: 18.58 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.056e-05/0.2949, allocations: 30.5 kB / 1.217 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2949, allocations: 4 kB / 1.217 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001256/0.2951, allocations: 53.59 kB / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2951, allocations: 9.875 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2951, allocations: 3.938 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2951, allocations: 0 / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.2952, allocations: 7.984 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2952, allocations: 4 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.2952, allocations: 7.922 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2952, allocations: 7.938 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 0.000115/0.2953, allocations: 197.2 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.2954, allocations: 113.7 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.2955, allocations: 124.8 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.108e-05/0.2955, allocations: 176.3 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.207e-05/0.2956, allocations: 180.2 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.159e-05/0.2957, allocations: 184.3 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.296, allocations: 429.1 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.722e-05/0.296, allocations: 105.1 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.2961, allocations: 109 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-05/0.2961, allocations: 184.2 kB / 1.219 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.2962, allocations: 180.2 kB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.09e-05/0.2963, allocations: 184.2 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.54e-05/0.2964, allocations: 180.3 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2965, allocations: 311.7 kB / 1.22 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.2966, allocations: 190 kB / 1.22 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/0.2967, allocations: 188.1 kB / 1.22 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.2968, allocations: 109 kB / 1.22 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.2969, allocations: 184.2 kB / 1.221 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.2969, allocations: 101 kB / 1.221 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001085/0.297, allocations: 133.1 kB / 1.221 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.297, allocations: 0 / 1.221 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002093/0.2972, allocations: 4 kB / 1.221 GB, free: 8.988 MB / 0.9669 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.0004842/0.2977, allocations: 0.8203 MB / 1.222 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.521e-05/0.2978, allocations: 8 kB / 1.222 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2978, allocations: 0 / 1.222 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.2978, allocations: 4.188 kB / 1.222 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.2982, allocations: 467.6 kB / 1.222 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2998, allocations: 1.641 MB / 1.224 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3001, allocations: 0.6885 MB / 1.224 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.3001, allocations: 7.984 kB / 1.224 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.3002, allocations: 23.38 kB / 1.224 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3002, allocations: 0 / 1.224 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.3246, allocations: 1.721 MB / 1.226 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.813, allocations: 9.469 kB / 1.226 GB, free: 3.582 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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: 13.24832287011668]