Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108.6 kB / 15.73 MB, free: 72 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.001234/0.001234, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.852/2.852, allocations: 472.6 MB / 0.7453 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3452, allocations: 159.9 MB / 1.226 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.9107/1.256, allocations: 161.5 MB / 1.383 GB, free: 1.258 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003009/1.259, allocations: 1.707 MB / 1.385 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/1.259, allocations: 11.16 kB / 1.385 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005603/1.26, allocations: 159.6 kB / 1.385 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/1.261, allocations: 0.5207 MB / 1.386 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/1.262, allocations: 415.3 kB / 1.386 GB, free: 15.16 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007559/1.263, allocations: 0.569 MB / 1.387 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/1.263, allocations: 180.8 kB / 1.387 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/1.264, allocations: 324.8 kB / 1.387 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/1.264, allocations: 148.9 kB / 1.387 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/1.264, allocations: 16.86 kB / 1.387 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/1.265, allocations: 0.6953 MB / 1.388 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/1.265, allocations: 78.39 kB / 1.388 GB, free: 14 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/1.266, allocations: 115.6 kB / 1.388 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.000738/1.266, allocations: 0.496 MB / 1.389 GB, free: 13.62 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.266, allocations: 1.25 kB / 1.389 GB, free: 13.62 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.363e-06/1.266, allocations: 4 kB / 1.389 GB, free: 13.62 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.171e-06/1.266, allocations: 0 / 1.389 GB, free: 13.62 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000806/1.267, allocations: 0.5927 MB / 1.389 GB, free: 13.07 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.267, allocations: 8.656 kB / 1.389 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/1.268, allocations: 56.75 kB / 1.389 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/1.268, allocations: 307.2 kB / 1.39 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/1.268, allocations: 13.58 kB / 1.39 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/1.268, allocations: 15.16 kB / 1.39 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/1.268, allocations: 198.8 kB / 1.39 GB, free: 12.6 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.268, allocations: 4 kB / 1.39 GB, free: 12.59 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/1.269, allocations: 6.062 kB / 1.39 GB, free: 12.59 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.269, allocations: 3.844 kB / 1.39 GB, free: 12.59 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/1.269, allocations: 124.8 kB / 1.39 GB, free: 12.54 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.0009968/1.27, allocations: 0.7787 MB / 1.391 GB, free: 11.82 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/1.27, allocations: 88.73 kB / 1.391 GB, free: 11.76 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/1.27, allocations: 76.92 kB / 1.391 GB, free: 11.72 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/1.271, allocations: 188.7 kB / 1.391 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/1.271, allocations: 35.83 kB / 1.391 GB, free: 11.48 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/1.271, allocations: 0 / 1.391 GB, free: 11.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006702/1.271, allocations: 227.2 kB / 1.391 GB, free: 11.36 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/1.271, allocations: 52.59 kB / 1.391 GB, free: 11.29 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/1.272, allocations: 270.8 kB / 1.392 GB, free: 11.11 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.272, allocations: 26.86 kB / 1.392 GB, free: 11.08 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/1.272, allocations: 148 kB / 1.392 GB, free: 10.95 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/1.272, allocations: 36.16 kB / 1.392 GB, free: 10.91 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/1.272, allocations: 28.34 kB / 1.392 GB, free: 10.89 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.272, allocations: 333.4 kB / 1.392 GB, free: 10.56 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/1.272, allocations: 50.86 kB / 1.392 GB, free: 10.53 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/1.272, allocations: 94.28 kB / 1.392 GB, free: 10.45 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/1.273, allocations: 122.9 kB / 1.392 GB, free: 10.37 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.273, allocations: 0.9688 kB / 1.392 GB, free: 10.37 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003405/1.273, allocations: 157.7 kB / 1.393 GB, free: 10.28 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.273, allocations: 5.281 kB / 1.393 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.273, allocations: 1.312 kB / 1.393 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.273, allocations: 5.625 kB / 1.393 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/1.273, allocations: 24.89 kB / 1.393 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.273, allocations: 5.75 kB / 1.393 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/1.273, allocations: 24.58 kB / 1.393 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/1.273, allocations: 4.875 kB / 1.393 GB, free: 10.25 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001988/1.274, allocations: 147.4 kB / 1.393 GB, free: 10.13 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000159/1.274, allocations: 93.8 kB / 1.393 GB, free: 10.05 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002469/1.274, allocations: 122 kB / 1.393 GB, free: 9.973 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/1.274, allocations: 0 / 1.393 GB, free: 9.973 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003382/1.274, allocations: 156 kB / 1.393 GB, free: 9.883 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/1.274, allocations: 10.31 kB / 1.393 GB, free: 9.879 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/1.274, allocations: 1.406 kB / 1.393 GB, free: 9.879 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-06/1.274, allocations: 1.344 kB / 1.393 GB, free: 9.879 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.274, allocations: 27.55 kB / 1.393 GB, free: 9.867 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/1.275, allocations: 6.344 kB / 1.393 GB, free: 9.863 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/1.275, allocations: 11.89 kB / 1.393 GB, free: 9.859 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/1.275, allocations: 4.969 kB / 1.393 GB, free: 9.859 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001093/1.275, allocations: 190.2 kB / 1.393 GB, free: 9.672 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/1.275, allocations: 27.42 kB / 1.393 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/1.275, allocations: 160 kB / 1.394 GB, free: 9.551 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.275, allocations: 5.281 kB / 1.394 GB, free: 9.547 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.275, allocations: 7.203 kB / 1.394 GB, free: 9.543 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.275, allocations: 3.938 kB / 1.394 GB, free: 9.539 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/1.276, allocations: 0.5973 MB / 1.394 GB, free: 9.004 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.276, allocations: 2.188 kB / 1.394 GB, free: 9.004 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.276, allocations: 25.48 kB / 1.394 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.276, allocations: 2.375 kB / 1.394 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/1.276, allocations: 3.188 kB / 1.394 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.276, allocations: 2.125 kB / 1.394 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.276, allocations: 6.062 kB / 1.394 GB, free: 8.992 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/1.277, allocations: 299.6 kB / 1.394 GB, free: 8.73 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/1.277, allocations: 109.9 kB / 1.395 GB, free: 8.617 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/1.277, allocations: 7.172 kB / 1.395 GB, free: 8.613 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/1.277, allocations: 18.73 kB / 1.395 GB, free: 8.602 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/1.277, allocations: 9.875 kB / 1.395 GB, free: 8.598 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/1.277, allocations: 9.328 kB / 1.395 GB, free: 8.594 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001851/1.277, allocations: 194.4 kB / 1.395 GB, free: 8.461 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.277, allocations: 0 / 1.395 GB, free: 8.461 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004643/1.278, allocations: 93.48 kB / 1.395 GB, free: 8.445 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 (10): * Single equations (assignments): 10 * 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.0003829/1.278, allocations: 175.5 kB / 1.395 GB, free: 8.32 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004829/1.279, allocations: 166.6 kB / 1.395 GB, free: 8.246 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.279, allocations: 0 / 1.395 GB, free: 8.246 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/1.279, allocations: 66.73 kB / 1.395 GB, free: 8.215 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/1.28, allocations: 120.5 kB / 1.395 GB, free: 8.156 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/1.28, allocations: 437.5 kB / 1.396 GB, free: 7.82 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/1.281, allocations: 0.7499 MB / 1.397 GB, free: 7.094 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001997/1.281, allocations: 71.5 kB / 1.397 GB, free: 7.059 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/1.281, allocations: 29.08 kB / 1.397 GB, free: 7.043 MB / 1.092 GB Notification: Performance of SimCode: time 4.61e-07/1.281, allocations: 0 / 1.397 GB, free: 7.043 MB / 1.092 GB Notification: Performance of Templates: time 0.0087/1.29, allocations: 4.395 MB / 1.401 GB, free: 4.867 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches