Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001728/0.001728, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001881/0.001881, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437.1 MB / 0.711 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 68.02 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3151, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6861/1.001, allocations: 161.3 MB / 1.176 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002129/1.003, allocations: 0.9615 MB / 1.176 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/1.004, allocations: 13.62 kB / 1.176 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/1.004, allocations: 153.2 kB / 1.177 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/1.006, allocations: 0.6425 MB / 1.177 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/1.007, allocations: 218.6 kB / 1.177 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007385/1.008, allocations: 0.5128 MB / 1.178 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/1.008, allocations: 182.7 kB / 1.178 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/1.008, allocations: 229.8 kB / 1.178 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/1.009, allocations: 165.1 kB / 1.179 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/1.009, allocations: 14.88 kB / 1.179 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009976/1.01, allocations: 0.5357 MB / 1.179 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/1.01, allocations: 80.03 kB / 1.179 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/1.01, allocations: 118.5 kB / 1.179 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007806/1.011, allocations: 485.4 kB / 1.18 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.011, allocations: 1.125 kB / 1.18 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/1.011, allocations: 0 / 1.18 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.011, allocations: 4 kB / 1.18 GB, free: 9.867 MB / 0.8887 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.001455/1.012, allocations: 0.5903 MB / 1.18 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.012, allocations: 10.67 kB / 1.18 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/1.013, allocations: 52.61 kB / 1.18 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/1.013, allocations: 280.8 kB / 1.181 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.013, allocations: 11.73 kB / 1.181 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/1.013, allocations: 19.38 kB / 1.181 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/1.014, allocations: 243.9 kB / 1.181 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.014, allocations: 0 / 1.181 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/1.014, allocations: 5.438 kB / 1.181 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/1.014, allocations: 8.312 kB / 1.181 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007125/1.014, allocations: 256.2 kB / 1.181 GB, free: 8.742 MB / 0.8887 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.001379/1.016, allocations: 0.8308 MB / 1.182 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/1.016, allocations: 150.1 kB / 1.182 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/1.016, allocations: 117.2 kB / 1.182 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/1.017, allocations: 184.2 kB / 1.182 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.017, allocations: 39.92 kB / 1.182 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/1.017, allocations: 1.375 kB / 1.182 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.0008982/1.018, allocations: 304.3 kB / 1.183 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/1.018, allocations: 52.78 kB / 1.183 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/1.018, allocations: 244.8 kB / 1.183 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/1.018, allocations: 31.08 kB / 1.183 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.018, allocations: 133.9 kB / 1.183 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/1.018, allocations: 46.17 kB / 1.183 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/1.018, allocations: 34.08 kB / 1.183 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.018, allocations: 336.3 kB / 1.184 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.019, allocations: 67.16 kB / 1.184 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/1.019, allocations: 105.4 kB / 1.184 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/1.019, allocations: 166.9 kB / 1.184 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.019, allocations: 0 / 1.184 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004803/1.02, allocations: 220.7 kB / 1.184 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.02, allocations: 4.969 kB / 1.184 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.02, allocations: 5.094 kB / 1.184 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.02, allocations: 1.25 kB / 1.184 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/1.02, allocations: 30.53 kB / 1.184 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.02, allocations: 1.5 kB / 1.184 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/1.02, allocations: 29.33 kB / 1.184 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/1.02, allocations: 9.844 kB / 1.184 GB, free: 6.344 MB / 0.8887 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.000151/1.02, allocations: 149.2 kB / 1.184 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/1.02, allocations: 21.56 kB / 1.184 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/1.02, allocations: 32.09 kB / 1.184 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.021, allocations: 1.125 kB / 1.184 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.021, allocations: 5.047 kB / 1.184 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.021, allocations: 0 / 1.184 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.022, allocations: 0.6702 MB / 1.185 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.022, allocations: 2.844 kB / 1.185 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/1.022, allocations: 34.27 kB / 1.185 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.022, allocations: 2.469 kB / 1.185 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.022, allocations: 11.42 kB / 1.185 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/1.022, allocations: 2.219 kB / 1.185 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.022, allocations: 6 kB / 1.185 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/1.022, allocations: 354.5 kB / 1.185 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.023, allocations: 111.6 kB / 1.185 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/1.023, allocations: 11.2 kB / 1.186 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/1.023, allocations: 4.594 kB / 1.186 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/1.023, allocations: 25.98 kB / 1.186 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/1.023, allocations: 8.719 kB / 1.186 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001942/1.023, allocations: 181 kB / 1.186 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.01e-07/1.023, allocations: 0 / 1.186 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000375/1.023, allocations: 56.53 kB / 1.186 GB, free: 5.004 MB / 0.8887 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.0004247/1.024, allocations: 162.5 kB / 1.186 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005097/1.024, allocations: 180.6 kB / 1.186 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.024, allocations: 1.25 kB / 1.186 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/1.025, allocations: 93.69 kB / 1.186 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007901/1.025, allocations: 133.7 kB / 1.186 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/1.026, allocations: 478.3 kB / 1.187 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/1.027, allocations: 0.7519 MB / 1.188 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/1.027, allocations: 20.78 kB / 1.188 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of SimCode: time 6.01e-07/1.027, allocations: 0 / 1.188 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of Templates: time 0.00637/1.033, allocations: 3.705 MB / 1.191 GB, free: 1.68 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time