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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008248/0.0008247, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008308/0.0008309, allocations: 176.5 kB / 16.92 MB, free: 6.652 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.858/2.858, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004785, allocations: 9.062 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3373, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1673/0.5046, allocations: 157 MB / 1.213 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.5066, allocations: 0.947 MB / 1.214 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000357/0.507, allocations: 7.938 kB / 1.214 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.5075, allocations: 143.1 kB / 1.214 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.5091, allocations: 0.5954 MB / 1.214 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.5098, allocations: 198.4 kB / 1.215 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000916/0.5107, allocations: 0.7372 MB / 1.215 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.5111, allocations: 160.2 kB / 1.215 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.5116, allocations: 215.1 kB / 1.216 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.5119, allocations: 163.3 kB / 1.216 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.512, allocations: 8 kB / 1.216 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.513, allocations: 0.6351 MB / 1.216 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.5131, allocations: 75.72 kB / 1.216 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.5133, allocations: 137.1 kB / 1.217 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005432/0.5139, allocations: 335.3 kB / 1.217 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5139, allocations: 4 kB / 1.217 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5139, allocations: 0 / 1.217 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5139, allocations: 0 / 1.217 GB, free: 3.004 MB / 0.9669 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.001442/0.5154, allocations: 0.5533 MB / 1.217 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5154, allocations: 12.03 kB / 1.217 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.5157, allocations: 51.67 kB / 1.217 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.5161, allocations: 278.3 kB / 1.218 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.5161, allocations: 12.33 kB / 1.218 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.5161, allocations: 12 kB / 1.218 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.5167, allocations: 247.1 kB / 1.218 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5167, allocations: 0 / 1.218 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.5168, allocations: 4 kB / 1.218 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.5168, allocations: 15.98 kB / 1.218 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.5175, allocations: 263.8 kB / 1.218 GB, free: 1.48 MB / 0.9669 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.001385/0.5189, allocations: 0.8432 MB / 1.219 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.5192, allocations: 150.5 kB / 1.219 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.5195, allocations: 116.8 kB / 1.219 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.5198, allocations: 194.2 kB / 1.22 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.5198, allocations: 30.56 kB / 1.22 GB, free: 20 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.5198, allocations: 0 / 1.22 GB, free: 20 kB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0008713/0.5207, allocations: 323.5 kB / 1.22 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5207, allocations: 55.41 kB / 1.22 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.521, allocations: 241 kB / 1.22 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.521, allocations: 29.7 kB / 1.22 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.5211, allocations: 136.2 kB / 1.22 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.5212, allocations: 51.3 kB / 1.22 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.5212, allocations: 21.66 kB / 1.22 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5214, allocations: 338.8 kB / 1.221 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.5216, allocations: 71.89 kB / 1.221 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.5218, allocations: 114.5 kB / 1.221 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.5222, allocations: 166.5 kB / 1.221 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5222, allocations: 4 kB / 1.221 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005003/0.5227, allocations: 230 kB / 1.221 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5227, allocations: 7.938 kB / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5228, allocations: 0 / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5228, allocations: 8.062 kB / 1.221 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.523, allocations: 35.91 kB / 1.221 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.523, allocations: 0 / 1.221 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.5232, allocations: 31.83 kB / 1.221 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.5232, allocations: 4 kB / 1.221 GB, free: 14.12 MB / 0.9825 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.0001451/0.5234, allocations: 149.8 kB / 1.222 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.5234, allocations: 23.73 kB / 1.222 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.5235, allocations: 29.84 kB / 1.222 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5235, allocations: 0 / 1.222 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5235, allocations: 0 / 1.222 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5235, allocations: 3.984 kB / 1.222 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.5246, allocations: 0.6912 MB / 1.222 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5247, allocations: 224 / 1.222 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5248, allocations: 39.92 kB / 1.222 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5249, allocations: 4 kB / 1.222 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.5249, allocations: 4 kB / 1.222 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.5249, allocations: 3.984 kB / 1.222 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5249, allocations: 4 kB / 1.222 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.5254, allocations: 374.5 kB / 1.223 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.5256, allocations: 108.8 kB / 1.223 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.5256, allocations: 8 kB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.5258, allocations: 11.98 kB / 1.223 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.5259, allocations: 19.92 kB / 1.223 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.5259, allocations: 4 kB / 1.223 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001647/0.526, allocations: 188.4 kB / 1.223 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.526, allocations: 0 / 1.223 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003619/0.5264, allocations: 55.91 kB / 1.223 GB, free: 12.28 MB / 0.9825 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.0003691/0.5268, allocations: 168.6 kB / 1.223 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.5273, allocations: 183.9 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5273, allocations: 4 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.5275, allocations: 103.8 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.5284, allocations: 121 kB / 1.224 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.5292, allocations: 0.539 MB / 1.224 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.5296, allocations: 0.7521 MB / 1.225 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.5297, allocations: 27.44 kB / 1.225 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.5297, allocations: 0 / 1.225 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.00647/0.5362, allocations: 3.649 MB / 1.228 GB, free: 6.695 MB / 0.9825 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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