Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 106.2 kB / 16.41 MB, free: 6.5 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.001491/0.001492, allocations: 190.5 kB / 17.35 MB, free: 5.75 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.449/1.449, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8729, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04621/0.9192, allocations: 46.02 MB / 1.253 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01752/0.9368, allocations: 11.51 MB / 1.264 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/0.9398, allocations: 63.62 kB / 1.264 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.9423, allocations: 0.6908 MB / 1.265 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00665/0.949, allocations: 2.227 MB / 1.267 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.9531, allocations: 1.519 MB / 1.269 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02463/0.9777, allocations: 22.75 MB / 1.291 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/0.99, allocations: 9.353 MB / 1.3 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01532/1.005, allocations: 7.422 MB / 1.307 GB, free: 7.828 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/1.017, allocations: 6.135 MB / 1.313 GB, free: 1.668 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003448/1.021, allocations: 0.8281 MB / 1.314 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007856/1.029, allocations: 2.033 MB / 1.316 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003899/1.033, allocations: 2.111 MB / 1.318 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.009788/1.042, allocations: 4.504 MB / 1.323 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01442/1.057, allocations: 13.05 MB / 1.335 GB, free: 11.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.057, allocations: 0 / 1.335 GB, free: 11.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.754e-06/1.057, allocations: 0 / 1.335 GB, free: 11.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003164/1.057, allocations: 0 / 1.335 GB, free: 11.08 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02101/1.078, allocations: 8.285 MB / 1.343 GB, free: 2.703 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.078, allocations: 8.031 kB / 1.343 GB, free: 2.695 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/1.082, allocations: 0.8625 MB / 1.344 GB, free: 1.824 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/1.098, allocations: 7.853 MB / 1.352 GB, free: 9.887 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004351/1.099, allocations: 419.9 kB / 1.352 GB, free: 9.469 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/1.1, allocations: 0.5076 MB / 1.353 GB, free: 8.961 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/1.116, allocations: 7.675 MB / 1.36 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/1.116, allocations: 27.78 kB / 1.36 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007321/1.117, allocations: 224 kB / 1.361 GB, free: 0.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/1.117, allocations: 167.9 kB / 1.361 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/1.129, allocations: 6.063 MB / 1.367 GB, free: 10.51 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.04653/1.176, allocations: 29.36 MB / 1.395 GB, free: 11.89 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/1.181, allocations: 3.407 MB / 1.399 GB, free: 8.492 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/1.184, allocations: 1.96 MB / 1.401 GB, free: 6.527 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/1.185, allocations: 0.9865 MB / 1.402 GB, free: 5.336 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.547e-05/1.185, allocations: 77.06 kB / 1.402 GB, free: 5.254 MB / 1.123 GB Notification: Performance of pre-optimization done (n=253): time 5.34e-06/1.185, allocations: 4 kB / 1.402 GB, free: 5.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=253): time 0.008523/1.194, allocations: 4.687 MB / 1.406 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/1.194, allocations: 89.28 kB / 1.406 GB, free: 464 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.205, allocations: 6.431 MB / 1.413 GB, free: 10 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000809/1.206, allocations: 85.7 kB / 1.413 GB, free: 9.914 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.003055/1.209, allocations: 2.972 MB / 1.416 GB, free: 6.922 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001678/1.21, allocations: 0.9013 MB / 1.416 GB, free: 6.008 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/1.212, allocations: 0.6829 MB / 1.417 GB, free: 5.316 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.212, allocations: 301.1 kB / 1.417 GB, free: 5.02 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/1.214, allocations: 1.649 MB / 1.419 GB, free: 3.363 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/1.218, allocations: 2.682 MB / 1.422 GB, free: 240 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/1.223, allocations: 4.594 MB / 1.426 GB, free: 11.18 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/1.223, allocations: 8 kB / 1.426 GB, free: 11.17 MB / 1.154 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008757/1.232, allocations: 4.955 MB / 1.431 GB, free: 6.164 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/1.232, allocations: 27.97 kB / 1.431 GB, free: 6.137 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/1.232, allocations: 32 kB / 1.431 GB, free: 6.105 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.549e-05/1.232, allocations: 48 kB / 1.431 GB, free: 6.059 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/1.235, allocations: 0.8034 MB / 1.432 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008189/1.236, allocations: 1.25 MB / 1.433 GB, free: 3.957 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/1.241, allocations: 0.5187 MB / 1.434 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/1.241, allocations: 152 kB / 1.434 GB, free: 3.285 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006214/1.247, allocations: 3.898 MB / 1.438 GB, free: 15.38 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003269/1.251, allocations: 2.678 MB / 1.44 GB, free: 12.25 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006107/1.257, allocations: 4.586 MB / 1.445 GB, free: 7.199 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.498e-05/1.257, allocations: 11.94 kB / 1.445 GB, free: 7.188 MB / 1.17 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.009951/1.267, allocations: 4.958 MB / 1.449 GB, free: 2.18 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/1.267, allocations: 20 kB / 1.449 GB, free: 2.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/1.267, allocations: 32 kB / 1.45 GB, free: 2.129 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.555e-05/1.267, allocations: 48.81 kB / 1.45 GB, free: 2.082 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/1.27, allocations: 0.78 MB / 1.45 GB, free: 1.301 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.58e-05/1.27, allocations: 71.78 kB / 1.45 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/1.275, allocations: 385.2 kB / 1.451 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004225/1.275, allocations: 156 kB / 1.451 GB, free: 0.6992 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001053/1.276, allocations: 411 kB / 1.451 GB, free: 296 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002188/1.278, allocations: 0.5599 MB / 1.452 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007422/1.286, allocations: 3.906 MB / 1.456 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004391/1.29, allocations: 2.994 MB / 1.459 GB, free: 8.699 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.29, allocations: 7.922 kB / 1.459 GB, free: 8.691 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003652/1.294, allocations: 1.247 MB / 1.46 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/1.295, allocations: 59.98 kB / 1.46 GB, free: 7.359 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004252/1.3, allocations: 195.6 kB / 1.46 GB, free: 7.168 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/1.3, allocations: 153.8 kB / 1.46 GB, free: 7.016 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007045/1.307, allocations: 3.808 MB / 1.464 GB, free: 3.148 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009089/1.316, allocations: 6.235 MB / 1.47 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002082/1.318, allocations: 1.668 MB / 1.472 GB, free: 11.14 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.008247/1.327, allocations: 4.562 MB / 1.476 GB, free: 6.582 MB / 1.201 GB Notification: Performance of Backend: time 1.142e-06/1.327, allocations: 0 / 1.476 GB, free: 6.582 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.339, allocations: 5.281 MB / 1.481 GB, free: 1.309 MB / 1.201 GB Notification: Performance of SimCode: time 0.04071/1.38, allocations: 16.32 MB / 1.497 GB, free: 1.039 MB / 1.217 GB Notification: Performance of Templates: time 0.863/2.243, allocations: 142.3 MB / 1.636 GB, free: 276.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches