Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.0005879/0.0005879, 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.0004369/0.0004369, 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.3474/0.3474, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.8553/0.8553, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 14.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.233e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.03406/0.03408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01099/0.04507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0008488/0.04592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0011/0.04702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00243/0.04945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.05111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.00143/0.05254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.05325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.05545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.05611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.258e-05/0.05619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.05735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.05758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.05788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001377/0.05925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.869e-05/0.05932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.179e-05/0.05933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.622e-05/0.05935, 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002706/0.06206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001295/0.06218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002549/0.06244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.0628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/0.06406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.0642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.06583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.06586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/0.06595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.06597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.06718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.07058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.07126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/0.07173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/0.07208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.07213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=12): time 8.253e-05/0.07222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=12): time 0.001895/0.07411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.0742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.07508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.07518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.07543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/0.07551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.07577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.000402/0.07618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.07659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.07724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0009165/0.07816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.07817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=13) (initialization): time 0.001406/0.07957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.07961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.07962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.07964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.08013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.08014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.08049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.08058, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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.0005563/0.08114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/0.08156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.08268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.0827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.08271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.08272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.08605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.08606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.08653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.08654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.0866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.08661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.08662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.08838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007684/0.08914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.08934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.08986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.09011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.09019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006441/0.09084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.524e-05/0.09085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001782/0.09263, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003302/0.09593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001103/0.09704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.09704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.000645/0.09769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/0.1009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.1128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.1133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003746/0.1137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.1142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0006482/0.1148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.003569/0.1184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.002594/0.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03906/0.1601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.818e-05/0.1601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 2.396e-05/0.1601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.000236/0.1603, 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.BaseClasses.Validation.MassFlowRateMultiplier,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=10 -tolerance=1e-06 -stepSize=0.004 -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat",resimulateExecutable="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches simulate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=10 -tolerance=1e-06 -stepSize=0.004 -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_me_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches simulate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=10 -tolerance=1e-06 -stepSize=0.004 -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_cs_res.mat -s fmi3:cs",resimulateExecutable="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_cs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_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.771331893047318]