Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001718/0.001718, allocations: 103.6 kB / 18.95 MB, free: 2.652 MB / 14.72 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.002381/0.002381, allocations: 222.4 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.11/3.11, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 68.39 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3522, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1958/0.548, allocations: 153.1 MB / 1.475 GB, free: 7.82 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.5513, allocations: 1.752 MB / 1.477 GB, free: 6.066 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000386/0.5517, allocations: 19.81 kB / 1.477 GB, free: 6.047 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007236/0.5524, allocations: 226.5 kB / 1.477 GB, free: 5.824 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.5542, allocations: 0.7661 MB / 1.478 GB, free: 5.055 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.5562, allocations: 0.8597 MB / 1.479 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.5572, allocations: 0.8612 MB / 1.48 GB, free: 3.332 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/0.5577, allocations: 237.3 kB / 1.48 GB, free: 3.098 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.5588, allocations: 0.5878 MB / 1.481 GB, free: 2.508 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.5591, allocations: 282.8 kB / 1.481 GB, free: 2.23 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/0.5592, allocations: 24 kB / 1.481 GB, free: 2.207 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.5606, allocations: 0.9038 MB / 1.482 GB, free: 1.301 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.5607, allocations: 119.6 kB / 1.482 GB, free: 1.184 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.5609, allocations: 171.2 kB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.5621, allocations: 0.8761 MB / 1.483 GB, free: 140 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5621, allocations: 3.984 kB / 1.483 GB, free: 136 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5621, allocations: 0 / 1.483 GB, free: 136 kB / 1.17 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.5621, allocations: 3.938 kB / 1.483 GB, free: 132 kB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001729/0.5639, allocations: 0.7147 MB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5639, allocations: 12.03 kB / 1.484 GB, free: 15.37 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.805e-05/0.564, allocations: 62.53 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.565, allocations: 163.5 kB / 1.484 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.5656, allocations: 307.6 kB / 1.484 GB, free: 14.81 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.5657, allocations: 20.66 kB / 1.484 GB, free: 14.79 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.5657, allocations: 28 kB / 1.484 GB, free: 14.76 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007249/0.5665, allocations: 395.5 kB / 1.484 GB, free: 14.35 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5665, allocations: 0 / 1.484 GB, free: 14.35 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.5665, allocations: 12 kB / 1.484 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.5665, allocations: 20.58 kB / 1.484 GB, free: 14.32 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.5672, allocations: 342.3 kB / 1.485 GB, free: 13.99 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.5692, allocations: 1.304 MB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.5697, allocations: 222.6 kB / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.5699, allocations: 132.8 kB / 1.486 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.5704, allocations: 67.92 kB / 1.486 GB, free: 12.19 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.5704, allocations: 38.56 kB / 1.487 GB, free: 12.14 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.5704, allocations: 4 kB / 1.487 GB, free: 12.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.0009747/0.5714, allocations: 390.3 kB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5715, allocations: 51.41 kB / 1.487 GB, free: 11.69 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.5719, allocations: 365.6 kB / 1.487 GB, free: 11.32 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.5719, allocations: 29.7 kB / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.572, allocations: 192.4 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.5721, allocations: 75.38 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.5722, allocations: 49.7 kB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5724, allocations: 350.7 kB / 1.488 GB, free: 10.61 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.5726, allocations: 87.94 kB / 1.488 GB, free: 10.53 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.5729, allocations: 231 kB / 1.488 GB, free: 10.26 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.5734, allocations: 261.1 kB / 1.489 GB, free: 9.988 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5734, allocations: 4 kB / 1.489 GB, free: 9.984 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000592/0.574, allocations: 301.2 kB / 1.489 GB, free: 9.684 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.574, allocations: 5.719 kB / 1.489 GB, free: 9.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.574, allocations: 8.188 kB / 1.489 GB, free: 9.672 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.574, allocations: 0 / 1.489 GB, free: 9.672 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.5743, allocations: 47.91 kB / 1.489 GB, free: 9.625 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5743, allocations: 4 kB / 1.489 GB, free: 9.621 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.5746, allocations: 35.77 kB / 1.489 GB, free: 9.586 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.5746, allocations: 12 kB / 1.489 GB, free: 9.574 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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 0.0001691/0.5748, allocations: 165.7 kB / 1.489 GB, free: 9.402 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.5748, allocations: 39.77 kB / 1.489 GB, free: 9.363 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000674/0.5755, allocations: 310.5 kB / 1.489 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5755, allocations: 4 kB / 1.489 GB, free: 9.047 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5755, allocations: 3.984 kB / 1.489 GB, free: 9.043 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5755, allocations: 0 / 1.489 GB, free: 9.043 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.577, allocations: 0.838 MB / 1.49 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.577, allocations: 0 / 1.49 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.5772, allocations: 43.91 kB / 1.49 GB, free: 8.078 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.5772, allocations: 4 kB / 1.49 GB, free: 8.074 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.5772, allocations: 8 kB / 1.49 GB, free: 8.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.5772, allocations: 4 kB / 1.49 GB, free: 8.062 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5772, allocations: 4 kB / 1.49 GB, free: 8.059 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.5779, allocations: 456.7 kB / 1.491 GB, free: 7.562 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.5781, allocations: 55.73 kB / 1.491 GB, free: 7.508 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.5781, allocations: 11.98 kB / 1.491 GB, free: 7.496 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.5784, allocations: 12 kB / 1.491 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.5784, allocations: 23.91 kB / 1.491 GB, free: 7.461 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.5785, allocations: 8 kB / 1.491 GB, free: 7.453 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003005/0.5788, allocations: 263.1 kB / 1.491 GB, free: 7.203 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5788, allocations: 4 kB / 1.491 GB, free: 7.199 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004376/0.5792, allocations: 99.92 kB / 1.491 GB, free: 7.102 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.001163/0.5804, allocations: 1.043 MB / 1.492 GB, free: 5.996 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.5809, allocations: 235.7 kB / 1.492 GB, free: 5.766 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5809, allocations: 0 / 1.492 GB, free: 5.766 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.5812, allocations: 116.7 kB / 1.493 GB, free: 5.652 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5823, allocations: 227.8 kB / 1.493 GB, free: 5.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.5868, allocations: 3.286 MB / 1.496 GB, free: 1.965 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.5871, allocations: 201.8 kB / 1.496 GB, free: 1.746 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003333/0.5874, allocations: 87.22 kB / 1.496 GB, free: 1.656 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.5876, allocations: 111.4 kB / 1.496 GB, free: 1.547 MB / 1.186 GB Notification: Performance of SimCode: time 9.82e-07/0.5876, allocations: 4 kB / 1.496 GB, free: 1.543 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04136/0.6289, allocations: 12.25 MB / 1.508 GB, free: 5.637 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.73, allocations: 4.141 kB / 1.508 GB, free: 5.637 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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: 18.292601252993336]