Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.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.0003638/0.0003638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006909/0.001055, 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.0004836/0.0004836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005616/0.001045, 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.1203/0.1203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04965/0.17, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 0.2361/0.2361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1498/0.3859, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_inv_DerivativeCheck",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_inv_DerivativeCheck",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.62e-07/7.62e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.752e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001607/0.001624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0009289/0.002553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-06/0.002562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 7.083e-06/0.002569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 2.358e-05/0.002593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.002984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.003041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.003074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.003128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 2.579e-05/0.003153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.003162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.00378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.003794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.003807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.004051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.166e-05/0.004072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.106e-06/0.004075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.833e-05/0.004094, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003984/0.004492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.004544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.004598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.004655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 7.711e-05/0.004732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.004745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.004773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.004895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.004912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.004937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-06/0.004939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.004993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.0051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.005232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.00525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.005265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.00528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.005283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=6): time 0.0005579/0.005841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.005865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.049e-05/0.005895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.00591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.204e-05/0.005922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.005943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.00597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.358e-05/0.005984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-06/0.005993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.019e-05/0.006003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.006032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.006033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=7) (initialization): time 5.453e-05/0.006088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.0061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.006104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.006117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.524e-05/0.006162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.006168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.006186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.006193, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 3.434e-05/0.006227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.006236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.006609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.006612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.006616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.006785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.006836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.006858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.006861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.006872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.006875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.006877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 8.764e-05/0.006964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.006995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.007058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.007074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.00709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.018e-05/0.0071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.12e-07/0.007101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003945/0.007495, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0003625/0.007858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 8.358e-05/0.007941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.007948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.007966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.0082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.009292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.255e-05/0.009315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 2.958e-05/0.009344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.009401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.97e-05/0.009431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0003297/0.009761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.0009898/0.01075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.01796/0.02871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.055e-05/0.02872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.708e-05/0.02874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.00024/0.02898, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 7.423e-05, simCode 0.0004504, templates 0.0002088 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 300] cd("run_me") [Timeout 300] "" [Timeout remaining time 300] simulate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,startTime=-2,stopTime=2,tolerance=1e-08,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -startTime=-2 -stopTime=2 -tolerance=1e-08 -stepSize=0.0016 -variableFilter=time|m_flow|m_flow_comp -r=../Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat -s fmi3:me",resimulateExecutable="../Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_inv_DerivativeCheck.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 300] "" [Timeout remaining time 300] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches cd("run_cs") [Timeout 300] "" [Timeout remaining time 300] simulate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,startTime=-2,stopTime=2,tolerance=1e-08,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -startTime=-2 -stopTime=2 -tolerance=1e-08 -stepSize=0.0016 -variableFilter=time|m_flow|m_flow_comp -r=../Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_cs_res.mat -s fmi3:cs",resimulateExecutable="../Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_inv_DerivativeCheck.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 300] "" [Timeout remaining time 300] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 0.988274697214365]