Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0002033/0.0002033, 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.0002077/0.0002077, 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.09521/0.09521, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.05057/0.05057, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 5.51e-07/5.51e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.095e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency): time 0.001911/0.001921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0008854/0.002807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.002868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 7.854e-05/0.002947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.003107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.003236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001685/0.003404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 5.735e-05/0.003462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.003588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.003669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.003694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.003714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.003757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.003814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.003951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.003966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.042e-06/0.003967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.919e-06/0.003972, 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.0006237/0.004595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.00465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.004706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.004868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.00498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.005008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.005225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.005232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.005255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-06/0.005258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.005337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.005799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.005923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.005957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.005967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.006089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=12): time 2.605e-06/0.006092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=12): time 0.0001616/0.006254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.006274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.006323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.006353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.006391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.006419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.006471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.42e-05/0.006486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.006525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 4.43e-05/0.006569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 7.898e-05/0.006648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.00665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001422/0.006793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.006816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.006832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.006939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.006946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.007033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.007054, 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 7.292e-05/0.007127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.007145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.007183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.007186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.00719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.007395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.007397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.007451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.007454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.007466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.007469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.007471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 9.662e-05/0.007567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.007589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.007648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.007747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.007806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.00782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.163e-05/0.007841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.314e-06/0.007844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003907/0.008234, 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 8.875e-05/0.008323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001707/0.008494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.008497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 4.793e-05/0.008545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.008944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.009282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.597e-05/0.009318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.317e-05/0.009361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.009478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.837e-05/0.009496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.000979/0.01048, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable CPUtime from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable EventCounter in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable EventCounter from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable _derdummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable _derdummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! Error: Could not read variable _dummy in file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat. Warning: Get data of variable _dummy from file ThermofluidStream_dev_ThermofluidStream.Idealized.EnergyFlow.Tests.FixedTransferEfficiency_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.777151842135936]