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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007198/0.007198, allocations: 98.42 kB / 15.73 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 196 kB / 16.68 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 472.6 MB / 0.7453 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 55.91 kB / 1.069 GB, free: 9.215 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3273, allocations: 159.9 MB / 1.226 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.9619/1.289, allocations: 161.3 MB / 1.383 GB, free: 1.367 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002113/1.291, allocations: 0.9617 MB / 1.384 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/1.292, allocations: 9.656 kB / 1.384 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005859/1.292, allocations: 155.8 kB / 1.384 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001796/1.294, allocations: 0.6314 MB / 1.385 GB, free: 84 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/1.295, allocations: 225.7 kB / 1.385 GB, free: 15.92 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008012/1.296, allocations: 0.5163 MB / 1.386 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/1.296, allocations: 181.5 kB / 1.386 GB, free: 15.52 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/1.297, allocations: 235.3 kB / 1.386 GB, free: 15.39 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/1.297, allocations: 157.3 kB / 1.386 GB, free: 15.3 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/1.297, allocations: 13.91 kB / 1.386 GB, free: 15.3 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/1.298, allocations: 0.5409 MB / 1.387 GB, free: 15 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/1.298, allocations: 80.72 kB / 1.387 GB, free: 14.95 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/1.298, allocations: 118.4 kB / 1.387 GB, free: 14.87 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008187/1.299, allocations: 491.6 kB / 1.387 GB, free: 14.59 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.299, allocations: 0 / 1.387 GB, free: 14.59 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.044e-06/1.299, allocations: 0 / 1.387 GB, free: 14.59 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.299, allocations: 0 / 1.387 GB, free: 14.59 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001573/1.301, allocations: 0.6145 MB / 1.388 GB, free: 14.03 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.301, allocations: 8.844 kB / 1.388 GB, free: 14.03 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/1.301, allocations: 44.86 kB / 1.388 GB, free: 14.01 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/1.301, allocations: 299.4 kB / 1.388 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/1.301, allocations: 11.27 kB / 1.388 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/1.301, allocations: 15.94 kB / 1.388 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/1.302, allocations: 240.8 kB / 1.389 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.302, allocations: 0 / 1.389 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/1.302, allocations: 18.09 kB / 1.389 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/1.302, allocations: 11.61 kB / 1.389 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/1.303, allocations: 244.4 kB / 1.389 GB, free: 13.44 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.304, allocations: 0.8399 MB / 1.39 GB, free: 12.72 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/1.304, allocations: 143.3 kB / 1.39 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/1.305, allocations: 113.2 kB / 1.39 GB, free: 12.58 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/1.305, allocations: 187.9 kB / 1.39 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/1.305, allocations: 35.62 kB / 1.39 GB, free: 12.34 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 4.359e-06/1.305, allocations: 0 / 1.39 GB, free: 12.34 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.0008462/1.306, allocations: 308.5 kB / 1.39 GB, free: 12.17 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/1.306, allocations: 56.91 kB / 1.39 GB, free: 12.11 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/1.306, allocations: 244.3 kB / 1.391 GB, free: 11.94 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.306, allocations: 30.98 kB / 1.391 GB, free: 11.9 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.306, allocations: 134.7 kB / 1.391 GB, free: 11.78 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/1.306, allocations: 49.55 kB / 1.391 GB, free: 11.73 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/1.306, allocations: 38.81 kB / 1.391 GB, free: 11.7 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.307, allocations: 328.5 kB / 1.391 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/1.307, allocations: 76.16 kB / 1.391 GB, free: 11.34 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/1.307, allocations: 104.6 kB / 1.391 GB, free: 11.27 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/1.307, allocations: 166.4 kB / 1.392 GB, free: 11.18 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.307, allocations: 4 kB / 1.392 GB, free: 11.17 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004701/1.308, allocations: 217.6 kB / 1.392 GB, free: 11.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.308, allocations: 5.094 kB / 1.392 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.308, allocations: 5.062 kB / 1.392 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.308, allocations: 1.5 kB / 1.392 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/1.308, allocations: 26.92 kB / 1.392 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.308, allocations: 5.109 kB / 1.392 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/1.308, allocations: 24.03 kB / 1.392 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/1.308, allocations: 12.77 kB / 1.392 GB, free: 11.02 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001409/1.309, allocations: 145.2 kB / 1.392 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/1.309, allocations: 22.11 kB / 1.392 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/1.309, allocations: 36.61 kB / 1.392 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.309, allocations: 0.875 kB / 1.392 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.309, allocations: 1.688 kB / 1.392 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.309, allocations: 0 / 1.392 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.31, allocations: 0.675 MB / 1.393 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/1.31, allocations: 5.281 kB / 1.393 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/1.31, allocations: 35.66 kB / 1.393 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/1.31, allocations: 6.188 kB / 1.393 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/1.31, allocations: 3.312 kB / 1.393 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.31, allocations: 2.031 kB / 1.393 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.31, allocations: 2.25 kB / 1.393 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/1.311, allocations: 367.8 kB / 1.393 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.311, allocations: 118.2 kB / 1.393 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/1.311, allocations: 2.5 kB / 1.393 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/1.311, allocations: 14.3 kB / 1.393 GB, free: 9.82 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/1.311, allocations: 17.28 kB / 1.393 GB, free: 9.809 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/1.311, allocations: 9.422 kB / 1.393 GB, free: 9.805 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001572/1.311, allocations: 176.8 kB / 1.393 GB, free: 9.684 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.311, allocations: 0 / 1.393 GB, free: 9.684 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003722/1.312, allocations: 64.09 kB / 1.393 GB, free: 9.668 MB / 1.092 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 (14): * Single equations (assignments): 14 * 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.0003925/1.312, allocations: 155.7 kB / 1.394 GB, free: 9.551 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004783/1.312, allocations: 175.7 kB / 1.394 GB, free: 9.469 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.312, allocations: 0 / 1.394 GB, free: 9.469 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/1.313, allocations: 94.88 kB / 1.394 GB, free: 9.426 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/1.313, allocations: 128.8 kB / 1.394 GB, free: 9.367 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/1.314, allocations: 446 kB / 1.394 GB, free: 9.027 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/1.314, allocations: 0.7527 MB / 1.395 GB, free: 8.297 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002051/1.315, allocations: 65.97 kB / 1.395 GB, free: 8.27 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/1.315, allocations: 24.67 kB / 1.395 GB, free: 8.258 MB / 1.092 GB Notification: Performance of SimCode: time 2.41e-07/1.315, allocations: 0 / 1.395 GB, free: 8.258 MB / 1.092 GB Notification: Performance of Templates: time 0.009667/1.324, allocations: 4.436 MB / 1.4 GB, free: 6.07 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (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 & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches