Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [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.001051/0.001051, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [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.8909/0.8909, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.67/1.67, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.206e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002145/0.002167, allocations: 1.275 MB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.003077, allocations: 0.5337 MB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.003103, allocations: 0 / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.003122, allocations: 0 / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.003164, allocations: 0 / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.003637, allocations: 150.3 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.025e-05/0.003688, allocations: 11.94 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.003736, allocations: 3.984 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.003769, allocations: 8 kB / 0.9524 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.003812, allocations: 3.984 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.003826, allocations: 0 / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.004125, allocations: 271.4 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.004138, allocations: 0 / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.004157, allocations: 4 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.004363, allocations: 151.5 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004365, allocations: 0 / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004366, allocations: 0 / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.004372, allocations: 4 kB / 0.9528 GB, free: 1.059 MB / 0.9011 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.0003554/0.004727, allocations: 282 kB / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.004775, allocations: 8.031 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.004806, allocations: 30.75 kB / 0.9531 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.004831, allocations: 4.938 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.004913, allocations: 105.7 kB / 0.9533 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.004925, allocations: 384 / 0.9533 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.004936, allocations: 4.375 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.005032, allocations: 34.25 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005042, allocations: 192 / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.005052, allocations: 384 / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.005061, allocations: 12.12 kB / 0.9533 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.83e-05/0.00509, allocations: 3.938 kB / 0.9533 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.005245, allocations: 120.8 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.031e-05/0.005306, allocations: 26.53 kB / 0.9534 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.005325, allocations: 8.922 kB / 0.9535 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.005348, allocations: 4 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.005373, allocations: 34.56 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.005374, allocations: 0 / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.00553, allocations: 41.62 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.005568, allocations: 55.47 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.005642, allocations: 101.9 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.005653, allocations: 25.7 kB / 0.9537 GB, free: 4 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.005695, allocations: 80.14 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.005724, allocations: 7.953 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.005753, allocations: 13.72 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.00583, allocations: 314.8 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.005841, allocations: 4 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-06/0.00585, allocations: 4 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.894e-05/0.005879, allocations: 17.05 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.005881, allocations: 4 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.584e-05/0.005927, allocations: 41.59 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.005941, allocations: 4 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.005947, allocations: 0 / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.00596, allocations: 7.984 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.006119, allocations: 7.938 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002834/0.006403, allocations: 0.5821 MB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.006418, allocations: 0 / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.006425, allocations: 4 kB / 0.9548 GB, free: 14.87 MB / 0.9167 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 6.458e-05/0.006489, allocations: 121.9 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.006495, allocations: 3.938 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.096e-05/0.006586, allocations: 41.02 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.006589, allocations: 0 / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.006595, allocations: 3.984 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006597, allocations: 0 / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.822e-05/0.006666, allocations: 116.8 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006668, allocations: 3.938 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.006723, allocations: 19.92 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006725, allocations: 4.031 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.00673, allocations: 0 / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005327/0.007263, allocations: 0.5937 MB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007265, allocations: 0 / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.981e-05/0.007314, allocations: 65.09 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.007321, allocations: 4 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.00733, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.007336, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.00735, allocations: 3.984 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.007353, allocations: 8.125 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.007376, allocations: 75.28 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007377, allocations: 0 / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001482/0.007525, allocations: 19.86 kB / 0.9558 GB, free: 13.7 MB / 0.9167 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.0002827/0.007808, allocations: 0.6085 MB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.00793, allocations: 23.98 kB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007932, allocations: 192 / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.007966, allocations: 19.92 kB / 0.9564 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.008075, allocations: 5.719 kB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.008478, allocations: 134.4 kB / 0.9566 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.008523, allocations: 59.34 kB / 0.9566 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.386e-05/0.008537, allocations: 0 / 0.9566 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.008562, allocations: 8.5 kB / 0.9566 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.008562, allocations: 4.062 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.02667, allocations: 1.951 MB / 0.9586 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/7.912, allocations: 12.81 kB / 0.9586 GB, free: 10.97 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.085039106197655]