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.001765/0.001765, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002282/0.002282, allocations: 214.9 kB / 23.03 MB, free: 4.426 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.104/3.104, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_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.002022/0.002022, allocations: 60.91 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3606, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1876/0.5482, allocations: 153 MB / 1.476 GB, free: 7.918 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003593/0.5518, allocations: 1.761 MB / 1.478 GB, free: 6.152 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.5523, allocations: 19.81 kB / 1.478 GB, free: 6.133 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007868/0.553, allocations: 214.5 kB / 1.478 GB, free: 5.922 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.5551, allocations: 0.7623 MB / 1.479 GB, free: 5.156 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.5572, allocations: 0.8675 MB / 1.48 GB, free: 4.289 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.5585, allocations: 0.8573 MB / 1.48 GB, free: 3.43 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/0.5589, allocations: 223.6 kB / 1.481 GB, free: 3.207 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.5602, allocations: 0.5995 MB / 1.481 GB, free: 2.605 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.5606, allocations: 274.9 kB / 1.481 GB, free: 2.336 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.5607, allocations: 24 kB / 1.481 GB, free: 2.312 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.5624, allocations: 0.9038 MB / 1.482 GB, free: 1.406 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.5626, allocations: 131.5 kB / 1.482 GB, free: 1.277 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.5628, allocations: 163.2 kB / 1.483 GB, free: 1.117 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.5644, allocations: 0.88 MB / 1.483 GB, free: 240 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5644, allocations: 4 kB / 1.483 GB, free: 236 kB / 1.17 GB Notification: Performance of FrontEnd: time 2.444e-06/0.5644, allocations: 0 / 1.483 GB, free: 236 kB / 1.17 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.5644, allocations: 0 / 1.483 GB, free: 236 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.001807/0.5662, allocations: 0.7185 MB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5663, allocations: 12.03 kB / 1.484 GB, free: 15.47 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.249e-05/0.5663, allocations: 8.594 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.277e-05/0.5664, allocations: 66.53 kB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.5675, allocations: 163.5 kB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.5681, allocations: 303.7 kB / 1.485 GB, free: 14.9 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.5681, allocations: 24.59 kB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.5682, allocations: 28 kB / 1.485 GB, free: 14.85 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007433/0.5689, allocations: 391.5 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5689, allocations: 3.938 kB / 1.485 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.569, allocations: 11.94 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.569, allocations: 12.66 kB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.5697, allocations: 350.3 kB / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.5717, allocations: 1.304 MB / 1.487 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.5722, allocations: 218.7 kB / 1.487 GB, free: 12.48 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.5725, allocations: 134.5 kB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/0.5729, allocations: 71.92 kB / 1.487 GB, free: 12.28 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.5729, allocations: 38.56 kB / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.5729, allocations: 0 / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001/0.5739, allocations: 389.1 kB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.574, allocations: 59.33 kB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.5744, allocations: 353.7 kB / 1.488 GB, free: 11.42 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.5744, allocations: 33.7 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.5746, allocations: 196.3 kB / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.5746, allocations: 75.38 kB / 1.488 GB, free: 11.11 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.5747, allocations: 49.69 kB / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5749, allocations: 346.8 kB / 1.489 GB, free: 10.71 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.5751, allocations: 87.92 kB / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.5754, allocations: 235 kB / 1.489 GB, free: 10.36 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.5759, allocations: 256.3 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5759, allocations: 0 / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006069/0.5765, allocations: 302.4 kB / 1.489 GB, free: 9.785 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.5765, allocations: 8 kB / 1.489 GB, free: 9.777 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5765, allocations: 0 / 1.489 GB, free: 9.777 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.5765, allocations: 11.92 kB / 1.489 GB, free: 9.766 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.5768, allocations: 47.91 kB / 1.49 GB, free: 9.719 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5768, allocations: 4 kB / 1.49 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.5771, allocations: 39.95 kB / 1.49 GB, free: 9.676 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.5771, allocations: 12 kB / 1.49 GB, free: 9.664 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.0001812/0.5773, allocations: 165.7 kB / 1.49 GB, free: 9.492 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.5774, allocations: 39.75 kB / 1.49 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.578, allocations: 308.8 kB / 1.49 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.578, allocations: 0 / 1.49 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.578, allocations: 0 / 1.49 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.578, allocations: 4 kB / 1.49 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.5794, allocations: 0.8341 MB / 1.491 GB, free: 8.219 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5795, allocations: 4 kB / 1.491 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.5797, allocations: 40.27 kB / 1.491 GB, free: 8.176 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.5797, allocations: 11.98 kB / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.5797, allocations: 8 kB / 1.491 GB, free: 8.156 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5797, allocations: 4 kB / 1.491 GB, free: 8.152 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5797, allocations: 4 kB / 1.491 GB, free: 8.148 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.5803, allocations: 446.4 kB / 1.491 GB, free: 7.664 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.5805, allocations: 59.67 kB / 1.491 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.5805, allocations: 12.03 kB / 1.491 GB, free: 7.594 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.5807, allocations: 23.92 kB / 1.491 GB, free: 7.57 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.5808, allocations: 23.91 kB / 1.491 GB, free: 7.547 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.5808, allocations: 8 kB / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003043/0.5811, allocations: 259.2 kB / 1.492 GB, free: 7.289 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5811, allocations: 0 / 1.492 GB, free: 7.289 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004745/0.5816, allocations: 99.88 kB / 1.492 GB, free: 7.191 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.001113/0.5827, allocations: 1.035 MB / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.5833, allocations: 232 kB / 1.493 GB, free: 5.867 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5833, allocations: 8.062 kB / 1.493 GB, free: 5.859 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.5835, allocations: 119.8 kB / 1.493 GB, free: 5.742 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5846, allocations: 216.5 kB / 1.493 GB, free: 5.531 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.589, allocations: 3.295 MB / 1.497 GB, free: 2.059 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.5892, allocations: 201.8 kB / 1.497 GB, free: 1.844 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003214/0.5895, allocations: 91.2 kB / 1.497 GB, free: 1.75 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.5897, allocations: 107.4 kB / 1.497 GB, free: 1.645 MB / 1.186 GB Notification: Performance of SimCode: time 7.22e-07/0.5897, allocations: 0 / 1.497 GB, free: 1.645 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.6258, allocations: 11.81 MB / 1.509 GB, free: 6.227 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.12, allocations: 13.86 kB / 1.509 GB, free: 6.219 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: 19.12034179503098]