Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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.0004645/0.0004645, 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.0004206/0.0004206, 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.3379/0.3379, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.7205/0.7205, 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.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.269e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.3659/0.3659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02133/0.3872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.3883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001577/0.3899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001652/0.3915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.3934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001949/0.3953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.3968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.4072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0009072/0.4081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.4083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.4086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0005985/0.4092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.4098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001778/0.4116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001287/0.4117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.228e-05/0.4117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.856e-05/0.4117, 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003211/0.415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.711e-05/0.4151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004664/0.4155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006083/0.4161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.4184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.4188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.4222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.4223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.4242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009031/0.4332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.4336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.4341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/0.4341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=10): time 0.0001124/0.4342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=10): time 0.002238/0.4365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002563/0.4367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.4395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.811e-05/0.4396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005222/0.4401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.4402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.4404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003535/0.4408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.4415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=10) (initialization): time 0.001007/0.443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.4434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.4438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.4439, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0007125/0.4446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/0.4459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.4462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.4462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.4462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/0.4544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.4544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.4548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.4548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.4549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.4549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.4549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.4559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0009903/0.4569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/0.4573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.4578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.4579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002154/0.4601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.227e-05/0.4601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001597/0.4617, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.001971/0.4637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006152/0.4643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.4643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.4646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/0.4689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.4874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.4883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005667/0.4888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/0.4897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0006235/0.4903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.006865/0.4972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.003554/0.5007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.0305/0.5312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.004e-05/0.5313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.403e-05/0.5313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0001921/0.5315, 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 299] simulate(Buildings.Fluid.Sources.Examples.PropertySource_h,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat",resimulateExecutable="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches simulate(Buildings.Fluid.Sources.Examples.PropertySource_h,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_me_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches simulate(Buildings.Fluid.Sources.Examples.PropertySource_h,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_cs_res.mat -s fmi3:cs",resimulateExecutable="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_cs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_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.806069942074828]