Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 189.4 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9846/0.9865, allocations: 160.8 MB / 1.218 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003177/0.9897, allocations: 1.257 MB / 1.22 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.9909, allocations: 0.5942 MB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.991, allocations: 0 / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.991, allocations: 4 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.991, allocations: 9.094 kB / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.9917, allocations: 133.9 kB / 1.22 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.9918, allocations: 17.14 kB / 1.22 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.9919, allocations: 1.469 kB / 1.22 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.9919, allocations: 6.219 kB / 1.22 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.9919, allocations: 6.031 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.9919, allocations: 1.219 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.9926, allocations: 352.8 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.9926, allocations: 0 / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.9926, allocations: 2.406 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.993, allocations: 153.6 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.993, allocations: 0 / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.273e-06/0.993, allocations: 0 / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.993, allocations: 1.188 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004861/0.9935, allocations: 351 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.9935, allocations: 8.531 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.9936, allocations: 1.906 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.9937, allocations: 169.4 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.9937, allocations: 1.406 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.9937, allocations: 1.406 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.293e-05/0.9938, allocations: 29.45 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.9938, allocations: 192 / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.9939, allocations: 4.938 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.9939, allocations: 0 / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.9939, allocations: 10.95 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.9941, allocations: 156.7 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.124e-05/0.9942, allocations: 24.02 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.9942, allocations: 5.922 kB / 1.222 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.9942, allocations: 5.141 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.9942, allocations: 31.72 kB / 1.222 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9942, allocations: 0 / 1.222 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.9944, allocations: 51.08 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.9944, allocations: 56.41 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.9945, allocations: 92.08 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.9945, allocations: 30.75 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.9946, allocations: 80.14 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.9946, allocations: 13.05 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.9946, allocations: 12.19 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9948, allocations: 312.3 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.9948, allocations: 9.312 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.9948, allocations: 6.344 kB / 1.222 GB, free: 300 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.9948, allocations: 14.38 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9948, allocations: 3.938 kB / 1.222 GB, free: 284 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.496e-05/0.9949, allocations: 41.94 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.9949, allocations: 5.406 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.9949, allocations: 3.938 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.995, allocations: 4.969 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.9951, allocations: 15.7 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004518/0.9956, allocations: 0.5827 MB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.9956, allocations: 0 / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.9956, allocations: 5.062 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.9957, allocations: 111.9 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.9957, allocations: 5.156 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.9958, allocations: 44.28 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.9958, allocations: 0.9375 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.9958, allocations: 1.062 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9958, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.9959, allocations: 155.9 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9959, allocations: 1.25 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.996, allocations: 10.98 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.996, allocations: 0.75 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.996, allocations: 1.031 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003696/0.9964, allocations: 0.5865 MB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9964, allocations: 3.938 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.028e-05/0.9965, allocations: 66.8 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.9965, allocations: 78.23 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.9966, allocations: 4.125 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.9966, allocations: 1 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.9966, allocations: 12.84 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.9966, allocations: 1.125 kB / 1.224 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.9966, allocations: 76.22 kB / 1.224 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9966, allocations: 5.281 kB / 1.224 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002065/0.9968, allocations: 10.81 kB / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002124/0.9971, allocations: 116.9 kB / 1.224 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.9972, allocations: 17.61 kB / 1.224 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.9972, allocations: 4 kB / 1.224 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.9973, allocations: 13.64 kB / 1.224 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.9974, allocations: 5 kB / 1.224 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.9979, allocations: 108.2 kB / 1.224 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.9982, allocations: 0.6761 MB / 1.225 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.9982, allocations: 0 / 1.225 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.9983, allocations: 8.469 kB / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.9983, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of Templates: time 0.00341/1.002, allocations: 493.2 kB / 1.226 GB, free: 13.23 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 8.854823367670178]