Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.001598/0.001598, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001906/0.001906, allocations: 215.1 kB / 22.24 MB, free: 5.262 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.801 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.042/3.042, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001993/0.001993, allocations: 73.66 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002672/0.3133, allocations: 1.553 MB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.3134, allocations: 27.88 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.3135, allocations: 0 / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.3136, allocations: 15.86 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.3136, allocations: 11.92 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.3137, allocations: 15.97 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.561e-05/0.3138, allocations: 47.84 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3139, allocations: 20.2 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.314, allocations: 27.92 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.3141, allocations: 31.84 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3141, allocations: 4 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.3141, allocations: 4 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.3141, allocations: 19.92 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.3142, allocations: 23.86 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3143, allocations: 59.69 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3143, allocations: 0 / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3143, allocations: 0 / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.3143, allocations: 0 / 1.327 GB, free: 0.5156 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003872/0.3147, allocations: 286.2 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3147, allocations: 16.03 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.3148, allocations: 34.69 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.3148, allocations: 16.88 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.315, allocations: 118.5 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.315, allocations: 8.375 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.315, allocations: 8.312 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3152, allocations: 100.8 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3152, allocations: 7.875 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3152, allocations: 0 / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3152, allocations: 4 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.3153, allocations: 43.91 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.3158, allocations: 0.6081 MB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.3159, allocations: 165.1 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.316, allocations: 80.14 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.316, allocations: 83.22 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.3161, allocations: 105.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3161, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.419e-05/0.3161, allocations: 41.59 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.3162, allocations: 130.7 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3164, allocations: 169.1 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3164, allocations: 29.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.3165, allocations: 108 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.3165, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.3165, allocations: 13.7 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3166, allocations: 318.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.3166, allocations: 4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.3167, allocations: 30.5 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.3167, allocations: 26.61 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3167, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001174/0.3168, allocations: 61.58 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3168, allocations: 5.719 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3168, allocations: 3.938 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3169, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.3169, allocations: 11.94 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3169, allocations: 7.938 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.3169, allocations: 11.89 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.317, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 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.0001124/0.3171, allocations: 197.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.3171, allocations: 108.9 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.3172, allocations: 120.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.018e-05/0.3173, allocations: 180.3 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-05/0.3173, allocations: 180.2 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-05/0.3174, allocations: 180.2 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.3176, allocations: 392.4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.28e-05/0.3177, allocations: 104.9 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.3177, allocations: 109 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.3178, allocations: 176.3 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/0.3179, allocations: 188.1 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-05/0.3179, allocations: 184.5 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-05/0.318, allocations: 188.1 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.3182, allocations: 315.8 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.3182, allocations: 112.9 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/0.3183, allocations: 184.2 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.3184, allocations: 104.9 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.3185, allocations: 184.3 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.3185, allocations: 104.9 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001007/0.3186, allocations: 129.1 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3186, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002073/0.3188, allocations: 8 kB / 1.333 GB, free: 10.08 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.0004372/0.3193, allocations: 0.8087 MB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.3193, allocations: 19.92 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3193, allocations: 0 / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.3193, allocations: 0 / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.3197, allocations: 461.4 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3212, allocations: 1.631 MB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.22e-05/0.3213, allocations: 79.52 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.3213, allocations: 11.92 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.3213, allocations: 19.44 kB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3213, allocations: 0 / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3491, allocations: 2.216 MB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.38, allocations: 1.719 kB / 1.338 GB, free: 4.836 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.7305899518542]