Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009622, allocations: 98.88 kB / 16.02 MB, free: 76 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.001119/0.001119, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.493/1.493, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004323, allocations: 8.781 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3765, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 1.019/1.396, allocations: 234.6 MB / 1.288 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01434/1.41, allocations: 7.22 MB / 1.295 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/1.413, allocations: 44.47 kB / 1.295 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/1.415, allocations: 424 kB / 1.296 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005013/1.42, allocations: 1.243 MB / 1.297 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/1.426, allocations: 1.559 MB / 1.299 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004689/1.43, allocations: 2.766 MB / 1.301 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/1.432, allocations: 0.6703 MB / 1.302 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/1.436, allocations: 1.303 MB / 1.303 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/1.438, allocations: 0.685 MB / 1.304 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003708/1.438, allocations: 43.03 kB / 1.304 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/1.443, allocations: 2.081 MB / 1.306 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005743/1.444, allocations: 271.4 kB / 1.306 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/1.445, allocations: 476.1 kB / 1.307 GB, free: 17.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/1.448, allocations: 1.251 MB / 1.308 GB, free: 17.85 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.448, allocations: 3.688 kB / 1.308 GB, free: 17.85 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/1.448, allocations: 0 / 1.308 GB, free: 17.85 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.186e-05/1.448, allocations: 0 / 1.308 GB, free: 17.85 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00309/1.451, allocations: 1.15 MB / 1.309 GB, free: 17.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.452, allocations: 14.06 kB / 1.309 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/1.454, allocations: 283.6 kB / 1.309 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/1.455, allocations: 0.6587 MB / 1.31 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/1.455, allocations: 42.72 kB / 1.31 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/1.455, allocations: 51.22 kB / 1.31 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.457, allocations: 0.6233 MB / 1.311 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/1.457, allocations: 3.938 kB / 1.311 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/1.457, allocations: 21.25 kB / 1.311 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/1.457, allocations: 11.78 kB / 1.311 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/1.458, allocations: 0.6281 MB / 1.311 GB, free: 16.7 MB / 1.014 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.004203/1.462, allocations: 2.635 MB / 1.314 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.463, allocations: 488.3 kB / 1.314 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/1.464, allocations: 324.9 kB / 1.315 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007845/1.465, allocations: 417.3 kB / 1.315 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.465, allocations: 43.75 kB / 1.315 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008221/1.465, allocations: 184 kB / 1.315 GB, free: 14.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 5.03e-06/1.465, allocations: 0 / 1.315 GB, free: 14.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002974/1.468, allocations: 1.136 MB / 1.316 GB, free: 14.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.469, allocations: 59.66 kB / 1.316 GB, free: 14.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/1.469, allocations: 0.6552 MB / 1.317 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/1.47, allocations: 34.02 kB / 1.317 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/1.47, allocations: 341.5 kB / 1.317 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.47, allocations: 158.3 kB / 1.318 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/1.47, allocations: 38.27 kB / 1.318 GB, free: 14.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.47, allocations: 324.4 kB / 1.318 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/1.471, allocations: 230.8 kB / 1.318 GB, free: 13.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/1.471, allocations: 332.8 kB / 1.318 GB, free: 13.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/1.472, allocations: 0.5206 MB / 1.319 GB, free: 13.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.472, allocations: 1.656 kB / 1.319 GB, free: 13.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001598/1.474, allocations: 0.7295 MB / 1.32 GB, free: 13.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/1.474, allocations: 108.6 kB / 1.32 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.474, allocations: 5.406 kB / 1.32 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/1.474, allocations: 100.8 kB / 1.32 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/1.475, allocations: 93.95 kB / 1.32 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005459/1.475, allocations: 0.6235 MB / 1.321 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/1.476, allocations: 68.94 kB / 1.321 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/1.476, allocations: 30.94 kB / 1.321 GB, free: 13.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/1.476, allocations: 2.75 kB / 1.321 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/1.478, allocations: 0.5967 MB / 1.321 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/1.478, allocations: 1.531 kB / 1.321 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/1.478, allocations: 60.44 kB / 1.321 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/1.478, allocations: 96.14 kB / 1.321 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/1.48, allocations: 1.706 MB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/1.481, allocations: 63.16 kB / 1.323 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/1.481, allocations: 20.66 kB / 1.323 GB, free: 11.64 MB / 1.014 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003923/1.481, allocations: 290.7 kB / 1.323 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/1.481, allocations: 79.84 kB / 1.324 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/1.483, allocations: 0.771 MB / 1.324 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.483, allocations: 3.188 kB / 1.324 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.483, allocations: 0 / 1.324 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.483, allocations: 12.48 kB / 1.324 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/1.486, allocations: 1.687 MB / 1.326 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.486, allocations: 0 / 1.326 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/1.486, allocations: 88.83 kB / 1.326 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/1.486, allocations: 65.55 kB / 1.326 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/1.486, allocations: 19.36 kB / 1.326 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004258/1.487, allocations: 0.6201 MB / 1.327 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/1.487, allocations: 6.031 kB / 1.327 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/1.489, allocations: 1.198 MB / 1.328 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/1.489, allocations: 202.4 kB / 1.328 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.489, allocations: 19.23 kB / 1.328 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/1.49, allocations: 68.09 kB / 1.328 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.49, allocations: 49.41 kB / 1.328 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/1.49, allocations: 17.12 kB / 1.328 GB, free: 9.848 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005895/1.49, allocations: 469.6 kB / 1.329 GB, free: 9.758 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.49, allocations: 0 / 1.329 GB, free: 9.758 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001252/1.492, allocations: 378.1 kB / 1.329 GB, free: 9.719 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006135/1.492, allocations: 235.1 kB / 1.329 GB, free: 9.594 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00201/1.494, allocations: 0.9897 MB / 1.33 GB, free: 9.465 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.494, allocations: 4.062 kB / 1.33 GB, free: 9.461 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/1.495, allocations: 310.9 kB / 1.331 GB, free: 9.461 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.498, allocations: 470.9 kB / 1.331 GB, free: 9.418 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/1.503, allocations: 2.169 MB / 1.333 GB, free: 8.336 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/1.504, allocations: 0.963 MB / 1.334 GB, free: 7.629 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/1.504, allocations: 69.39 kB / 1.334 GB, free: 7.621 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.504, allocations: 0 / 1.334 GB, free: 7.621 MB / 1.014 GB Notification: Performance of Templates: time 0.02314/1.527, allocations: 15.55 MB / 1.349 GB, free: 3.305 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches