Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency.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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000455/0.000455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008022/0.001257, 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.000315/0.000315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005833/0.0008983, 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.2413/0.2413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0833/0.3246, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.1329/0.1329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04552/0.1785, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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: simulate(ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=100,outputFormat="mat",variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|sawTooth.T_start|sawTooth.amplitude|sawTooth.count|sawTooth.nperiod|sawTooth.offset|sawTooth.period|sawTooth.startTime|sawTooth.y|sawTooth1.T_start|sawTooth1.amplitude|sawTooth1.count|sawTooth1.nperiod|sawTooth1.offset|sawTooth1.period|sawTooth1.startTime|sawTooth1.y|transfer.E_flow_dissipation|transfer.E_flow_in|transfer.E_flow_out|transfer.direction|transfer.eta|transfer1.E_flow_dissipation|transfer1.E_flow_dissipation_out|transfer1.E_flow_in|transfer1.E_flow_out|transfer1.direction|transfer1.eta|transfer2.E_flow_dissipation|transfer2.E_flow_dissipation_out|transfer2.E_flow_in|transfer2.E_flow_out|transfer2.direction|transfer2.eta",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=100,outputFormat="mat",variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|sawTooth.T_start|sawTooth.amplitude|sawTooth.count|sawTooth.nperiod|sawTooth.offset|sawTooth.period|sawTooth.startTime|sawTooth.y|sawTooth1.T_start|sawTooth1.amplitude|sawTooth1.count|sawTooth1.nperiod|sawTooth1.offset|sawTooth1.period|sawTooth1.startTime|sawTooth1.y|transfer.E_flow_dissipation|transfer.E_flow_in|transfer.E_flow_out|transfer.direction|transfer.eta|transfer1.E_flow_dissipation|transfer1.E_flow_dissipation_out|transfer1.E_flow_in|transfer1.E_flow_out|transfer1.direction|transfer1.eta|transfer2.E_flow_dissipation|transfer2.E_flow_dissipation_out|transfer2.E_flow_in|transfer2.E_flow_out|transfer2.direction|transfer2.eta",fileNamePrefix="ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.41e-07/7.41e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.121e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency): time 0.002023/0.002055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0008266/0.002881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.002928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 5.018e-05/0.002978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.003079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.003203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001512/0.003354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 6.612e-05/0.00342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.003544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.003622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.003663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.003678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.003714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.003754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.003862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.826e-05/0.00391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.153e-06/0.003911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.732e-05/0.003929, 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008706/0.004799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/0.00487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/0.004956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.005145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.005255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.005292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.005558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.005571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.005619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.005627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.005702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.006184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.006332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.006373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.006389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.006543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=12): time 2.595e-06/0.006546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=12): time 0.0002088/0.006755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.006786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.006839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.006891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.006931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.006953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.452e-05/0.007025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.007068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.007113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 7.697e-05/0.00719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001517/0.007344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.007367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.007397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.007511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.007519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.007616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.007639, 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: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 6.58e-05/0.007704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.007727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.007768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.00777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.007783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.007957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.007959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.008012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.008014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.008026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.008028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.00803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.008147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.008166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.00822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.008294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.008359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.008371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.265e-05/0.008394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.354e-06/0.008396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002085/0.008604, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001257/0.00873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001876/0.008918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.008923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 4.84e-05/0.008971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.009319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.009743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.009779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 5.771e-05/0.009837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.009967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.29e-05/0.00999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001537/0.01153, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable CPUtime in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.057222673902288]