Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001488/0.001488, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.498/2.498, allocations: 437.1 MB / 0.711 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.88 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2922, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.78/1.072, allocations: 241.9 MB / 1.254 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02384/1.096, allocations: 13.52 MB / 1.267 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/1.1, allocations: 55.62 kB / 1.267 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004375/1.104, allocations: 0.986 MB / 1.268 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007979/1.112, allocations: 1.78 MB / 1.27 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/1.117, allocations: 1.224 MB / 1.271 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006997/1.124, allocations: 3.258 MB / 1.275 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/1.127, allocations: 1.047 MB / 1.276 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01437/1.141, allocations: 4.117 MB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/1.144, allocations: 0.8983 MB / 1.28 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004899/1.144, allocations: 80 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/1.146, allocations: 0.6975 MB / 1.281 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006795/1.147, allocations: 442.5 kB / 1.282 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/1.148, allocations: 0.6839 MB / 1.282 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002737/1.151, allocations: 1.495 MB / 1.284 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.151, allocations: 0 / 1.284 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.327e-06/1.151, allocations: 4 kB / 1.284 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.653e-05/1.151, allocations: 0 / 1.284 GB, free: 9.266 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00283/1.154, allocations: 1.62 MB / 1.285 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.154, allocations: 8.922 kB / 1.285 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/1.155, allocations: 207.3 kB / 1.286 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/1.156, allocations: 0.8269 MB / 1.286 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/1.156, allocations: 125.4 kB / 1.286 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-05/1.156, allocations: 84 kB / 1.287 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.158, allocations: 0.919 MB / 1.287 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/1.158, allocations: 0 / 1.287 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/1.158, allocations: 36 kB / 1.287 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/1.158, allocations: 24 kB / 1.288 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008647/1.159, allocations: 0.5078 MB / 1.288 GB, free: 4.703 MB / 0.9825 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.00445/1.163, allocations: 4.888 MB / 1.293 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/1.164, allocations: 420.6 kB / 1.293 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/1.164, allocations: 264 kB / 1.293 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/1.164, allocations: 105 kB / 1.294 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/1.164, allocations: 54.7 kB / 1.294 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 7.454e-06/1.164, allocations: 3.984 kB / 1.294 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001848/1.166, allocations: 0.7778 MB / 1.294 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/1.166, allocations: 401.9 kB / 1.295 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.168, allocations: 1.271 MB / 1.296 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/1.168, allocations: 33.7 kB / 1.296 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/1.168, allocations: 0.5533 MB / 1.297 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/1.168, allocations: 110.4 kB / 1.297 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.169, allocations: 81.59 kB / 1.297 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/1.169, allocations: 329.9 kB / 1.297 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/1.169, allocations: 87.94 kB / 1.297 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/1.169, allocations: 339.8 kB / 1.297 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/1.17, allocations: 324.5 kB / 1.298 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.17, allocations: 7.938 kB / 1.298 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008677/1.171, allocations: 493.2 kB / 1.298 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.171, allocations: 8 kB / 1.298 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.171, allocations: 4.422 kB / 1.298 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/1.171, allocations: 73.67 kB / 1.298 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/1.171, allocations: 59.91 kB / 1.298 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/1.174, allocations: 3.27 MB / 1.302 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000771/1.175, allocations: 99.11 kB / 1.302 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/1.175, allocations: 20 kB / 1.302 GB, free: 5.57 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004305/1.175, allocations: 270.8 kB / 1.302 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/1.176, allocations: 142.4 kB / 1.302 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/1.176, allocations: 128.1 kB / 1.302 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.176, allocations: 15.92 kB / 1.302 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.176, allocations: 4 kB / 1.302 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.176, allocations: 4 kB / 1.302 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/1.179, allocations: 2.516 MB / 1.305 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.179, allocations: 4 kB / 1.305 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/1.179, allocations: 47.91 kB / 1.305 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/1.18, allocations: 74.05 kB / 1.305 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/1.18, allocations: 12 kB / 1.305 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/1.182, allocations: 3.27 MB / 1.308 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.182, allocations: 4 kB / 1.308 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/1.183, allocations: 0.6811 MB / 1.309 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/1.184, allocations: 243.4 kB / 1.309 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/1.184, allocations: 19.98 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/1.185, allocations: 39.95 kB / 1.309 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.185, allocations: 39.84 kB / 1.309 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/1.185, allocations: 19.98 kB / 1.309 GB, free: 13.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001334/1.186, allocations: 0.8763 MB / 1.31 GB, free: 12.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.187, allocations: 0 / 1.31 GB, free: 12.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001083/1.188, allocations: 259.7 kB / 1.31 GB, free: 12.38 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005042/1.188, allocations: 218.2 kB / 1.31 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009714/1.189, allocations: 0.5205 MB / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/1.189, allocations: 0 / 1.311 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/1.19, allocations: 411 kB / 1.311 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/1.193, allocations: 0.7525 MB / 1.312 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/1.196, allocations: 1.897 MB / 1.314 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/1.197, allocations: 1.134 MB / 1.315 GB, free: 7.285 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/1.197, allocations: 83.38 kB / 1.315 GB, free: 7.203 MB / 1.014 GB Notification: Performance of SimCode: time 8.42e-07/1.197, allocations: 4 kB / 1.315 GB, free: 7.199 MB / 1.014 GB Notification: Performance of Templates: time 0.05343/1.251, allocations: 27.55 MB / 1.342 GB, free: 11.83 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches