Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001983/0.001983, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002304/0.002304, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.413/1.413, allocations: 230.6 MB / 256.8 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.079/3.079, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",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.001906/0.001906, allocations: 60.31 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3272, allocations: 179 MB / 1.345 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1805/0.5077, allocations: 153 MB / 1.495 GB, free: 6.457 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.5111, allocations: 1.761 MB / 1.496 GB, free: 4.699 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.5114, allocations: 19.81 kB / 1.496 GB, free: 4.68 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.5121, allocations: 222.5 kB / 1.497 GB, free: 4.461 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.5141, allocations: 0.7584 MB / 1.497 GB, free: 3.699 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.5163, allocations: 0.8663 MB / 1.498 GB, free: 2.832 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.5175, allocations: 0.8573 MB / 1.499 GB, free: 1.973 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.5179, allocations: 235.6 kB / 1.499 GB, free: 1.738 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.5192, allocations: 0.5956 MB / 1.5 GB, free: 1.141 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.5196, allocations: 270.9 kB / 1.5 GB, free: 0.875 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.5196, allocations: 28 kB / 1.5 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.5213, allocations: 0.9037 MB / 1.501 GB, free: 15.94 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.5215, allocations: 123.6 kB / 1.501 GB, free: 15.82 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.5217, allocations: 171.2 kB / 1.501 GB, free: 15.65 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.5231, allocations: 0.88 MB / 1.502 GB, free: 14.77 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5231, allocations: 4 kB / 1.502 GB, free: 14.77 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5231, allocations: 0 / 1.502 GB, free: 14.77 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.5231, allocations: 0 / 1.502 GB, free: 14.77 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001778/0.5249, allocations: 0.7185 MB / 1.503 GB, free: 14.02 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5249, allocations: 12.03 kB / 1.503 GB, free: 14 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.059e-05/0.5249, allocations: 8.656 kB / 1.503 GB, free: 13.99 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.525, allocations: 62.53 kB / 1.503 GB, free: 13.92 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.526, allocations: 159.6 kB / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.5267, allocations: 303.6 kB / 1.503 GB, free: 13.45 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.5267, allocations: 20.66 kB / 1.503 GB, free: 13.43 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.5268, allocations: 28 kB / 1.503 GB, free: 13.4 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.5275, allocations: 395.5 kB / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5275, allocations: 0 / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.5276, allocations: 15.94 kB / 1.504 GB, free: 12.98 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.5276, allocations: 20.58 kB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.5283, allocations: 342.3 kB / 1.504 GB, free: 12.62 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.5303, allocations: 1.304 MB / 1.505 GB, free: 11.25 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.5308, allocations: 218.6 kB / 1.506 GB, free: 11.03 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.531, allocations: 137.8 kB / 1.506 GB, free: 10.89 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000477/0.5315, allocations: 71.92 kB / 1.506 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.5315, allocations: 38.56 kB / 1.506 GB, free: 10.78 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.5315, allocations: 0 / 1.506 GB, free: 10.78 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.0009943/0.5325, allocations: 390.6 kB / 1.506 GB, free: 10.39 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.5326, allocations: 51.41 kB / 1.506 GB, free: 10.33 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.533, allocations: 361.7 kB / 1.507 GB, free: 9.969 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.533, allocations: 29.7 kB / 1.507 GB, free: 9.934 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.5332, allocations: 200.3 kB / 1.507 GB, free: 9.734 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.5332, allocations: 71.36 kB / 1.507 GB, free: 9.664 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.5333, allocations: 49.7 kB / 1.507 GB, free: 9.609 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5335, allocations: 346.7 kB / 1.507 GB, free: 9.262 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.5337, allocations: 87.94 kB / 1.507 GB, free: 9.176 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.534, allocations: 247 kB / 1.508 GB, free: 8.895 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.5345, allocations: 243.4 kB / 1.508 GB, free: 8.637 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5345, allocations: 4 kB / 1.508 GB, free: 8.633 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006231/0.5351, allocations: 310.7 kB / 1.508 GB, free: 8.324 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5351, allocations: 4 kB / 1.508 GB, free: 8.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5351, allocations: 7.984 kB / 1.508 GB, free: 8.312 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5352, allocations: 0 / 1.508 GB, free: 8.312 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.5354, allocations: 51.84 kB / 1.508 GB, free: 8.262 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5354, allocations: 7.938 kB / 1.508 GB, free: 8.254 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.5357, allocations: 47.91 kB / 1.508 GB, free: 8.207 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.5357, allocations: 12 kB / 1.508 GB, free: 8.195 MB / 1.201 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.0001798/0.5359, allocations: 161.7 kB / 1.508 GB, free: 8.027 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.536, allocations: 35.81 kB / 1.508 GB, free: 7.992 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.5366, allocations: 292.9 kB / 1.509 GB, free: 7.691 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5366, allocations: 4 kB / 1.509 GB, free: 7.688 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5366, allocations: 0 / 1.509 GB, free: 7.688 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5366, allocations: 3.984 kB / 1.509 GB, free: 7.684 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.5381, allocations: 0.8418 MB / 1.51 GB, free: 6.758 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5381, allocations: 0 / 1.51 GB, free: 6.758 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.5383, allocations: 44.31 kB / 1.51 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.5383, allocations: 4 kB / 1.51 GB, free: 6.711 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.5383, allocations: 8 kB / 1.51 GB, free: 6.703 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.5383, allocations: 7.938 kB / 1.51 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5383, allocations: 4 kB / 1.51 GB, free: 6.691 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.539, allocations: 450.2 kB / 1.51 GB, free: 6.203 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5391, allocations: 55.72 kB / 1.51 GB, free: 6.148 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.5392, allocations: 15.98 kB / 1.51 GB, free: 6.133 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.5394, allocations: 12 kB / 1.51 GB, free: 6.121 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.5395, allocations: 27.84 kB / 1.51 GB, free: 6.094 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.5395, allocations: 8 kB / 1.51 GB, free: 6.086 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003042/0.5398, allocations: 263.1 kB / 1.51 GB, free: 5.836 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5398, allocations: 0 / 1.51 GB, free: 5.836 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004635/0.5403, allocations: 95.89 kB / 1.511 GB, free: 5.742 MB / 1.201 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.00112/0.5414, allocations: 1.035 MB / 1.512 GB, free: 4.645 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005455/0.5419, allocations: 236 kB / 1.512 GB, free: 4.414 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5419, allocations: 7.938 kB / 1.512 GB, free: 4.406 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.5422, allocations: 119.8 kB / 1.512 GB, free: 4.289 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5433, allocations: 219.4 kB / 1.512 GB, free: 4.078 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.5478, allocations: 3.297 MB / 1.515 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.548, allocations: 201.8 kB / 1.515 GB, free: 392 kB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003356/0.5484, allocations: 87.22 kB / 1.516 GB, free: 304 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.5486, allocations: 111.4 kB / 1.516 GB, free: 192 kB / 1.201 GB Notification: Performance of SimCode: time 8.62e-07/0.5486, allocations: 0 / 1.516 GB, free: 192 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.5847, allocations: 11.79 MB / 1.527 GB, free: 4.734 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.11, allocations: 10.98 kB / 1.527 GB, free: 4.73 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.596689523081295]