Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.001914/0.001914, allocations: 103.6 kB / 18.95 MB, free: 2.809 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.002434/0.002434, allocations: 212 kB / 22.24 MB, free: 5.109 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.302/3.302, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.002111/0.002111, allocations: 66.61 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3347, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.179/0.5137, allocations: 142.3 MB / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.5167, allocations: 1.612 MB / 1.504 GB, free: 13.6 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.5169, allocations: 15.81 kB / 1.504 GB, free: 13.58 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.5174, allocations: 155 kB / 1.504 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.5187, allocations: 0.5173 MB / 1.505 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.5198, allocations: 427.8 kB / 1.505 GB, free: 12.5 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007994/0.5206, allocations: 0.5849 MB / 1.506 GB, free: 11.91 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.5209, allocations: 136.7 kB / 1.506 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.5219, allocations: 498.2 kB / 1.506 GB, free: 11.29 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.5222, allocations: 151.3 kB / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.5222, allocations: 12 kB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009632/0.5232, allocations: 0.565 MB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.5233, allocations: 79.73 kB / 1.507 GB, free: 10.48 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.5234, allocations: 103.5 kB / 1.507 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.5241, allocations: 490.2 kB / 1.508 GB, free: 9.898 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5241, allocations: 0 / 1.508 GB, free: 9.898 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5241, allocations: 0 / 1.508 GB, free: 9.898 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.5241, allocations: 0 / 1.508 GB, free: 9.898 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008418/0.525, allocations: 0.5196 MB / 1.508 GB, free: 9.348 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.525, allocations: 8.031 kB / 1.508 GB, free: 9.34 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.5251, allocations: 50.55 kB / 1.508 GB, free: 9.281 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.5254, allocations: 59.77 kB / 1.508 GB, free: 9.223 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.5259, allocations: 244.1 kB / 1.508 GB, free: 8.961 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.526, allocations: 12 kB / 1.508 GB, free: 8.949 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.526, allocations: 16 kB / 1.508 GB, free: 8.934 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.5264, allocations: 221.8 kB / 1.509 GB, free: 8.695 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5264, allocations: 4 kB / 1.509 GB, free: 8.691 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.5264, allocations: 4 kB / 1.509 GB, free: 8.688 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.5264, allocations: 4 kB / 1.509 GB, free: 8.684 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.5268, allocations: 131.8 kB / 1.509 GB, free: 8.555 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.5279, allocations: 0.6675 MB / 1.509 GB, free: 7.836 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.5281, allocations: 86.45 kB / 1.51 GB, free: 7.742 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.5283, allocations: 72.88 kB / 1.51 GB, free: 7.668 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.5285, allocations: 31.97 kB / 1.51 GB, free: 7.637 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.5285, allocations: 34.56 kB / 1.51 GB, free: 7.594 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.5285, allocations: 0 / 1.51 GB, free: 7.594 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0006911/0.5292, allocations: 221.3 kB / 1.51 GB, free: 7.371 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.5293, allocations: 55.41 kB / 1.51 GB, free: 7.305 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.5296, allocations: 268.2 kB / 1.51 GB, free: 7.035 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.5296, allocations: 29.7 kB / 1.51 GB, free: 7 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.5297, allocations: 148 kB / 1.51 GB, free: 6.852 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.5298, allocations: 35.69 kB / 1.51 GB, free: 6.816 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.5298, allocations: 30.08 kB / 1.51 GB, free: 6.781 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.53, allocations: 334.8 kB / 1.511 GB, free: 6.445 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.5302, allocations: 52.75 kB / 1.511 GB, free: 6.391 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.5304, allocations: 221.6 kB / 1.511 GB, free: 6.125 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.5307, allocations: 123.3 kB / 1.511 GB, free: 5.992 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5307, allocations: 4 kB / 1.511 GB, free: 5.988 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003572/0.5311, allocations: 161.4 kB / 1.511 GB, free: 5.824 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5311, allocations: 4 kB / 1.511 GB, free: 5.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5311, allocations: 4 kB / 1.511 GB, free: 5.816 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5311, allocations: 8 kB / 1.511 GB, free: 5.809 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.5312, allocations: 31.86 kB / 1.511 GB, free: 5.777 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5313, allocations: 3.984 kB / 1.511 GB, free: 5.773 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.5314, allocations: 19.88 kB / 1.511 GB, free: 5.754 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.5315, allocations: 8 kB / 1.511 GB, free: 5.746 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002228/0.5317, allocations: 153.2 kB / 1.511 GB, free: 5.594 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002327/0.5319, allocations: 217.6 kB / 1.512 GB, free: 5.332 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000255/0.5322, allocations: 119.3 kB / 1.512 GB, free: 5.203 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.5322, allocations: 4 kB / 1.512 GB, free: 5.199 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003258/0.5325, allocations: 149.7 kB / 1.512 GB, free: 5.047 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5325, allocations: 8 kB / 1.512 GB, free: 5.039 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-06/0.5325, allocations: 3.984 kB / 1.512 GB, free: 5.035 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.5325, allocations: 7.922 kB / 1.512 GB, free: 5.027 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5326, allocations: 27.98 kB / 1.512 GB, free: 5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.5326, allocations: 0 / 1.512 GB, free: 5 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.5328, allocations: 19.92 kB / 1.512 GB, free: 4.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.5328, allocations: 4 kB / 1.512 GB, free: 4.977 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001187/0.5329, allocations: 184.3 kB / 1.512 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.533, allocations: 27.86 kB / 1.512 GB, free: 4.762 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.5334, allocations: 163.6 kB / 1.512 GB, free: 4.594 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5334, allocations: 4 kB / 1.512 GB, free: 4.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5334, allocations: 0 / 1.512 GB, free: 4.59 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5334, allocations: 0 / 1.512 GB, free: 4.59 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.5344, allocations: 0.55 MB / 1.513 GB, free: 3.969 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5344, allocations: 7.938 kB / 1.513 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.5346, allocations: 23.97 kB / 1.513 GB, free: 3.938 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5346, allocations: 4 kB / 1.513 GB, free: 3.934 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5346, allocations: 4 kB / 1.513 GB, free: 3.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5346, allocations: 0 / 1.513 GB, free: 3.93 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5346, allocations: 7.938 kB / 1.513 GB, free: 3.922 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.535, allocations: 301.4 kB / 1.513 GB, free: 3.59 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.5351, allocations: 35.83 kB / 1.513 GB, free: 3.555 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.5351, allocations: 4 kB / 1.513 GB, free: 3.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.5353, allocations: 15.98 kB / 1.513 GB, free: 3.535 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.5354, allocations: 11.92 kB / 1.513 GB, free: 3.523 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.5354, allocations: 12.06 kB / 1.513 GB, free: 3.512 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002075/0.5356, allocations: 203 kB / 1.514 GB, free: 3.316 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5356, allocations: 3.938 kB / 1.514 GB, free: 3.312 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004608/0.536, allocations: 99.83 kB / 1.514 GB, free: 3.215 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.0008871/0.5369, allocations: 0.8625 MB / 1.514 GB, free: 2.305 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.5374, allocations: 164 kB / 1.515 GB, free: 2.145 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5374, allocations: 0 / 1.515 GB, free: 2.145 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.5376, allocations: 68.42 kB / 1.515 GB, free: 2.078 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.5383, allocations: 119.5 kB / 1.515 GB, free: 1.965 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.5415, allocations: 2.372 MB / 1.517 GB, free: 15.46 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.5417, allocations: 146.2 kB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000226/0.5419, allocations: 66.22 kB / 1.517 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.542, allocations: 71.42 kB / 1.517 GB, free: 15.16 MB / 1.217 GB Notification: Performance of SimCode: time 7.41e-07/0.542, allocations: 0 / 1.517 GB, free: 15.16 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.5803, allocations: 7.892 MB / 1.525 GB, free: 7.504 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.79, allocations: 17.86 kB / 1.525 GB, free: 7.488 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.50544634088874]