Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.0004616/0.0004616, 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.0004655/0.0004655, 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.3526/0.3526, 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.8211/0.8211, 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.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.879e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.03384/0.03386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01262/0.04648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000728/0.0472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001504/0.04871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0034/0.05211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.05509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001816/0.05691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.05762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.05948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.06026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.06037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.06322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.06347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.06391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002372/0.06628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.046e-05/0.06637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.561e-06/0.06637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.188e-05/0.06639, 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.003336/0.06972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.149e-05/0.06981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.07004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.07051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.07229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.07236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.07251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.07385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.07387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.07395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.07396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.07501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.07929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.08001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.08038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.08064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.08068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=14): time 5.751e-05/0.08074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=14): time 0.001681/0.08242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.08249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.08435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.08447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.0849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.08499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.08536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004002/0.08577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.08623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008524/0.08708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.08805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.08806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=24) (initialization): time 0.001733/0.08979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.08982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.08983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.08985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.09029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.0903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.09081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/0.09091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008408/0.09175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008242/0.09257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009187/0.09349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/0.0935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.001669/0.09517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.09519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.09521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.09522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.09563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.09564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.0962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/0.09628, allocations: 0 / 0, free: 0 / 0 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 (24): * Single equations (assignments): 24 * 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.0004908/0.09677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.09714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.0987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.09871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.09872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.09873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.1024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.1024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.1027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.1027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.1028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/0.1028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.1028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.1042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/0.1049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000296/0.1052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.1057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.1059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.1059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001263/0.1072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.341e-05/0.1072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002396/0.1096, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003582/0.1132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001795/0.115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.1155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/0.1192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/0.1352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.1358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006327/0.1365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/0.1373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0006199/0.138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.005422/0.1434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.003971/0.1473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.04529/0.1926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.099e-05/0.1927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.491e-05/0.1927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0007539/0.1934, 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.Actuators.Valves.Examples.TwoWayValvesTable,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat",resimulateExecutable="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches simulate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_me_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches simulate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_cs_res.mat -s fmi3:cs",resimulateExecutable="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_cs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_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.6344694850267842]