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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 108.8 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.117/3.117, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 74.53 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3273, allocations: 173.9 MB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2103/0.5377, allocations: 174 MB / 1.474 GB, free: 2.883 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003453/0.5411, allocations: 1.847 MB / 1.476 GB, free: 1.035 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006629/0.5418, allocations: 15.94 kB / 1.476 GB, free: 1.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009723/0.5428, allocations: 234.4 kB / 1.476 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.5449, allocations: 0.774 MB / 1.477 GB, free: 12 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.5472, allocations: 0.8641 MB / 1.477 GB, free: 15.15 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.5486, allocations: 0.8378 MB / 1.478 GB, free: 14.31 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006175/0.5492, allocations: 258.5 kB / 1.479 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.5506, allocations: 0.5761 MB / 1.479 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.551, allocations: 278.9 kB / 1.479 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.5511, allocations: 24 kB / 1.479 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.5532, allocations: 1.169 MB / 1.481 GB, free: 12.01 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.5534, allocations: 127.6 kB / 1.481 GB, free: 11.88 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.5537, allocations: 199 kB / 1.481 GB, free: 11.69 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.5556, allocations: 0.9151 MB / 1.482 GB, free: 10.77 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5556, allocations: 0 / 1.482 GB, free: 10.77 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5556, allocations: 0 / 1.482 GB, free: 10.77 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.5556, allocations: 3.938 kB / 1.482 GB, free: 10.77 MB / 1.186 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.002135/0.5577, allocations: 0.7937 MB / 1.483 GB, free: 9.922 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5578, allocations: 12.62 kB / 1.483 GB, free: 9.91 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.857e-05/0.5579, allocations: 70.53 kB / 1.483 GB, free: 9.832 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.5589, allocations: 155.5 kB / 1.483 GB, free: 9.68 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/0.5596, allocations: 370.1 kB / 1.483 GB, free: 9.273 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.5597, allocations: 20.56 kB / 1.483 GB, free: 9.254 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.5597, allocations: 28 kB / 1.483 GB, free: 9.227 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.5604, allocations: 394.1 kB / 1.484 GB, free: 8.82 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.5605, allocations: 7.922 kB / 1.484 GB, free: 8.812 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.5605, allocations: 8 kB / 1.484 GB, free: 8.805 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.5605, allocations: 20.44 kB / 1.484 GB, free: 8.785 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/0.5612, allocations: 346 kB / 1.484 GB, free: 8.445 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.5637, allocations: 1.784 MB / 1.486 GB, free: 6.5 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.5643, allocations: 380.9 kB / 1.486 GB, free: 6.082 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.5645, allocations: 124.8 kB / 1.486 GB, free: 5.957 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.5651, allocations: 307.2 kB / 1.486 GB, free: 5.602 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5652, allocations: 38.56 kB / 1.486 GB, free: 5.555 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.532e-06/0.5652, allocations: 0 / 1.486 GB, free: 5.555 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001009/0.5662, allocations: 386.5 kB / 1.487 GB, free: 5.172 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5662, allocations: 55.41 kB / 1.487 GB, free: 5.105 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.5667, allocations: 361.7 kB / 1.487 GB, free: 4.746 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5667, allocations: 25.7 kB / 1.487 GB, free: 4.715 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.5668, allocations: 200.4 kB / 1.487 GB, free: 4.516 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.5669, allocations: 75.31 kB / 1.487 GB, free: 4.441 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.567, allocations: 45.7 kB / 1.488 GB, free: 4.391 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5672, allocations: 350.7 kB / 1.488 GB, free: 4.039 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.5674, allocations: 91.92 kB / 1.488 GB, free: 3.949 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.5677, allocations: 157.9 kB / 1.488 GB, free: 3.773 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.5681, allocations: 252.7 kB / 1.488 GB, free: 3.508 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5681, allocations: 0 / 1.488 GB, free: 3.508 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006131/0.5687, allocations: 305.2 kB / 1.489 GB, free: 3.203 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5688, allocations: 8 kB / 1.489 GB, free: 3.195 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5688, allocations: 4 kB / 1.489 GB, free: 3.191 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5688, allocations: 4 kB / 1.489 GB, free: 3.188 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.5691, allocations: 51.91 kB / 1.489 GB, free: 3.137 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5691, allocations: 7.984 kB / 1.489 GB, free: 3.129 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.5693, allocations: 35.77 kB / 1.489 GB, free: 3.094 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.5694, allocations: 11.94 kB / 1.489 GB, free: 3.082 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.0001815/0.5695, allocations: 157.9 kB / 1.489 GB, free: 2.918 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.5696, allocations: 35.77 kB / 1.489 GB, free: 2.883 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.5702, allocations: 305.9 kB / 1.489 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.5702, allocations: 0 / 1.489 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5703, allocations: 0 / 1.489 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5703, allocations: 0 / 1.489 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.5718, allocations: 0.8974 MB / 1.49 GB, free: 1.594 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5718, allocations: 48 / 1.49 GB, free: 1.594 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.572, allocations: 51.89 kB / 1.49 GB, free: 1.543 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.572, allocations: 4 kB / 1.49 GB, free: 1.539 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.572, allocations: 7.984 kB / 1.49 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.572, allocations: 4 kB / 1.49 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.572, allocations: 7.938 kB / 1.49 GB, free: 1.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.5727, allocations: 458.7 kB / 1.491 GB, free: 1.023 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.5729, allocations: 136.8 kB / 1.491 GB, free: 0.8711 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.5729, allocations: 8 kB / 1.491 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.5732, allocations: 11.98 kB / 1.491 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.5732, allocations: 23.92 kB / 1.491 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.5733, allocations: 15.98 kB / 1.491 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000308/0.5736, allocations: 251.2 kB / 1.491 GB, free: 0.5664 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5736, allocations: 3.938 kB / 1.491 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004821/0.5741, allocations: 99.89 kB / 1.491 GB, free: 476 kB / 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.001593/0.5757, allocations: 1.043 MB / 1.492 GB, free: 15.36 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006496/0.5763, allocations: 237.2 kB / 1.492 GB, free: 15.13 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5763, allocations: 0 / 1.492 GB, free: 15.13 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.5766, allocations: 128.4 kB / 1.493 GB, free: 15.01 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5776, allocations: 215.6 kB / 1.493 GB, free: 14.8 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.5824, allocations: 3.298 MB / 1.496 GB, free: 11.32 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.5829, allocations: 0.7957 MB / 1.497 GB, free: 10.49 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003369/0.5832, allocations: 95.22 kB / 1.497 GB, free: 10.4 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.5834, allocations: 115.4 kB / 1.497 GB, free: 10.29 MB / 1.201 GB Notification: Performance of SimCode: time 8.81e-07/0.5834, allocations: 0 / 1.497 GB, free: 10.29 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.6208, allocations: 10.89 MB / 1.508 GB, free: 15.64 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/9.017, allocations: 2.234 kB / 1.508 GB, free: 15.64 MB / 1.217 GB " [Timeout remaining time 291] (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_2/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: 15.524610529653728]