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.001909/0.001909, allocations: 109 kB / 16.46 MB, free: 6.508 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.002176/0.002176, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.132/3.132, allocations: 0.49 GB / 0.7916 GB, free: 33.44 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.002067/0.002067, allocations: 76.14 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 176.1 MB / 1.321 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2047/0.5139, allocations: 176.9 MB / 1.494 GB, free: 1.715 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00355/0.5174, allocations: 1.85 MB / 1.495 GB, free: 15.86 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005144/0.5179, allocations: 23.81 kB / 1.495 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.5188, allocations: 222.5 kB / 1.496 GB, free: 15.62 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.521, allocations: 0.7817 MB / 1.496 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.5236, allocations: 0.8485 MB / 1.497 GB, free: 13.98 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.525, allocations: 0.8456 MB / 1.498 GB, free: 13.14 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006757/0.5257, allocations: 247 kB / 1.498 GB, free: 12.89 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.5273, allocations: 0.5878 MB / 1.499 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.5278, allocations: 278.8 kB / 1.499 GB, free: 12.03 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.2e-05/0.5279, allocations: 24 kB / 1.499 GB, free: 12 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.5302, allocations: 1.161 MB / 1.5 GB, free: 10.84 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.5304, allocations: 127.6 kB / 1.5 GB, free: 10.71 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.5308, allocations: 211 kB / 1.501 GB, free: 10.51 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.5327, allocations: 0.9112 MB / 1.501 GB, free: 9.594 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5327, allocations: 0 / 1.501 GB, free: 9.594 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5327, allocations: 0 / 1.501 GB, free: 9.594 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.5327, allocations: 0 / 1.501 GB, free: 9.594 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.00204/0.5348, allocations: 0.7937 MB / 1.502 GB, free: 8.75 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5348, allocations: 15.98 kB / 1.502 GB, free: 8.734 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.095e-05/0.5349, allocations: 66.47 kB / 1.502 GB, free: 8.66 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.536, allocations: 163.5 kB / 1.502 GB, free: 8.5 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.5367, allocations: 366.2 kB / 1.503 GB, free: 8.098 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.5368, allocations: 20.56 kB / 1.503 GB, free: 8.078 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.5368, allocations: 28 kB / 1.503 GB, free: 8.051 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.5376, allocations: 398.1 kB / 1.503 GB, free: 7.645 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5376, allocations: 0 / 1.503 GB, free: 7.645 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.5377, allocations: 12 kB / 1.503 GB, free: 7.633 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.5377, allocations: 20.5 kB / 1.503 GB, free: 7.613 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.5385, allocations: 338 kB / 1.504 GB, free: 7.277 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.5409, allocations: 1.784 MB / 1.505 GB, free: 5.324 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.5415, allocations: 384.9 kB / 1.506 GB, free: 4.902 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.5418, allocations: 128.8 kB / 1.506 GB, free: 4.773 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.5424, allocations: 307.2 kB / 1.506 GB, free: 4.418 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5424, allocations: 38.56 kB / 1.506 GB, free: 4.371 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.5424, allocations: 0 / 1.506 GB, free: 4.371 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001067/0.5435, allocations: 386.9 kB / 1.507 GB, free: 3.988 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.5435, allocations: 51.41 kB / 1.507 GB, free: 3.926 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.544, allocations: 365.6 kB / 1.507 GB, free: 3.562 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.544, allocations: 33.7 kB / 1.507 GB, free: 3.523 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5442, allocations: 196.4 kB / 1.507 GB, free: 3.328 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.5442, allocations: 71.33 kB / 1.507 GB, free: 3.258 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.5443, allocations: 49.7 kB / 1.507 GB, free: 3.203 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5445, allocations: 346.7 kB / 1.508 GB, free: 2.855 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.5447, allocations: 91.92 kB / 1.508 GB, free: 2.766 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.545, allocations: 151.7 kB / 1.508 GB, free: 2.598 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.5455, allocations: 255.1 kB / 1.508 GB, free: 2.328 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5455, allocations: 4 kB / 1.508 GB, free: 2.324 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006645/0.5462, allocations: 303.2 kB / 1.508 GB, free: 2.023 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5462, allocations: 8.188 kB / 1.508 GB, free: 2.016 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5462, allocations: 4 kB / 1.508 GB, free: 2.012 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5463, allocations: 0 / 1.508 GB, free: 2.012 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.5465, allocations: 47.91 kB / 1.508 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5465, allocations: 4 kB / 1.508 GB, free: 1.961 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.5468, allocations: 39.75 kB / 1.508 GB, free: 1.922 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.5468, allocations: 12 kB / 1.508 GB, free: 1.91 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.0001816/0.547, allocations: 161.6 kB / 1.509 GB, free: 1.742 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.5471, allocations: 43.77 kB / 1.509 GB, free: 1.699 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.5478, allocations: 296.9 kB / 1.509 GB, free: 1.406 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5478, allocations: 7.938 kB / 1.509 GB, free: 1.398 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5478, allocations: 0 / 1.509 GB, free: 1.398 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5478, allocations: 0 / 1.509 GB, free: 1.398 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.5493, allocations: 0.8937 MB / 1.51 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5493, allocations: 4 kB / 1.51 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.5495, allocations: 43.91 kB / 1.51 GB, free: 376 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.5495, allocations: 4 kB / 1.51 GB, free: 372 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.5496, allocations: 11.98 kB / 1.51 GB, free: 360 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.5496, allocations: 4 kB / 1.51 GB, free: 356 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5496, allocations: 4 kB / 1.51 GB, free: 352 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.5503, allocations: 446.7 kB / 1.51 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.5504, allocations: 140.8 kB / 1.51 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.5505, allocations: 8 kB / 1.51 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.5507, allocations: 16.08 kB / 1.51 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.5508, allocations: 31.8 kB / 1.51 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.5508, allocations: 11.98 kB / 1.51 GB, free: 15.64 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003095/0.5511, allocations: 259.2 kB / 1.511 GB, free: 15.38 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5511, allocations: 0 / 1.511 GB, free: 15.38 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004748/0.5516, allocations: 95.89 kB / 1.511 GB, free: 15.29 MB / 1.217 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.001205/0.5528, allocations: 1.044 MB / 1.512 GB, free: 14.18 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005963/0.5534, allocations: 233.2 kB / 1.512 GB, free: 13.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5534, allocations: 0 / 1.512 GB, free: 13.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.5537, allocations: 119.8 kB / 1.512 GB, free: 13.84 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5548, allocations: 208.7 kB / 1.512 GB, free: 13.64 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.5597, allocations: 3.322 MB / 1.516 GB, free: 10.14 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.5601, allocations: 0.8035 MB / 1.516 GB, free: 9.309 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.5605, allocations: 91.22 kB / 1.517 GB, free: 9.219 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.5607, allocations: 111.4 kB / 1.517 GB, free: 9.109 MB / 1.217 GB Notification: Performance of SimCode: time 6.01e-07/0.5607, allocations: 0 / 1.517 GB, free: 9.109 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/0.5992, allocations: 10.83 MB / 1.527 GB, free: 14.51 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/9.038, allocations: 13.59 kB / 1.527 GB, free: 14.5 MB / 1.232 GB " [Timeout remaining time 291] (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: 15.551356835057959]