Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005404/0.0005404, allocations: 0 / 0, free: 0 / 0 " [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.0005577/0.0005577, allocations: 0 / 0, free: 0 / 0 " [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 0.4435/0.4435, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 0.9228/0.9228, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.31e-07/8.31e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.627e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001626/0.001642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003065/0.004707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.004728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.004746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.005484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 6.877e-05/0.005552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.005603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.392e-05/0.005627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.005659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.00645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.006465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.006965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.006975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.006995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0005123/0.007507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.007514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.894e-06/0.007516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.937e-06/0.007525, allocations: 0 / 0, free: 0 / 0 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.0007982/0.008323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.071e-05/0.008394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.008469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.008528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.008753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.008775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.008792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.00891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.008921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.008936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.008939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/0.008964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.009857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.01011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.0102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 7.87e-05/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.01039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=0): time 7.392e-05/0.01046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=0): time 0.0001958/0.01066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.01079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.01095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.01101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/0.01101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.0111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002378/0.01134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.01135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.01141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002445/0.01165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.01168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.01169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.01171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.01171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.01175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01177, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0002668/0.01203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.01225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.0124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000294/0.01269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001717/0.01287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001692/0.01304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009594/0.014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.486e-05/0.01409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.703e-05/0.01419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/0.01436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.01454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001662/0.01471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001661/0.01488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.0152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.01531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.01553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.01574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.01591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/0.016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001606/0.01616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.035e-06/0.01617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001127/0.01729, allocations: 0 / 0, free: 0 / 0 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.001561/0.01885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 9.1e-05/0.01895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.01895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.01896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.02075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.02211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.625e-05/0.02218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 5.455e-05/0.02224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.0223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004601/0.02276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0003141/0.02308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.09604/0.1191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.02153/0.1406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 4.969e-06/0.1406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 2.474e-06/0.1407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0003357/0.141, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 300] simulate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa",simflags=" -alarm=400 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat",resimulateExecutable="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu") [Timeout 400] "" [Timeout remaining time 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches simulate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa",simflags=" -alarm=400 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu") [Timeout 400] "" [Timeout remaining time 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_me_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches simulate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa",simflags=" -alarm=400 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_cs_res.mat -s fmi3:cs",resimulateExecutable="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu") [Timeout 400] "" [Timeout remaining time 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_cs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_cs.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: 2.9133501729229465]