Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00158/0.00158, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001758/0.001758, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8448, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2768/1.122, allocations: 241.9 MB / 1.325 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02013/1.142, allocations: 13.53 MB / 1.338 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/1.144, allocations: 55.62 kB / 1.338 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00308/1.148, allocations: 0.986 MB / 1.339 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005525/1.153, allocations: 1.788 MB / 1.341 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003986/1.157, allocations: 1.234 MB / 1.342 GB, free: 9.891 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005809/1.163, allocations: 3.266 MB / 1.345 GB, free: 6.609 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/1.165, allocations: 1.051 MB / 1.346 GB, free: 5.539 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/1.176, allocations: 4.144 MB / 1.35 GB, free: 1.379 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/1.178, allocations: 0.8983 MB / 1.351 GB, free: 488 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004874/1.178, allocations: 79.98 kB / 1.351 GB, free: 408 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/1.181, allocations: 0.6975 MB / 1.352 GB, free: 15.7 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007/1.181, allocations: 438.6 kB / 1.352 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/1.183, allocations: 0.68 MB / 1.353 GB, free: 14.59 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/1.186, allocations: 1.518 MB / 1.355 GB, free: 13.06 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.186, allocations: 0 / 1.355 GB, free: 13.06 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.244e-06/1.186, allocations: 0 / 1.355 GB, free: 13.06 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.112e-05/1.186, allocations: 0 / 1.355 GB, free: 13.06 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00288/1.189, allocations: 1.623 MB / 1.356 GB, free: 11.38 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.189, allocations: 8.031 kB / 1.356 GB, free: 11.38 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/1.189, allocations: 206.1 kB / 1.356 GB, free: 11.17 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/1.191, allocations: 0.9088 MB / 1.357 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/1.191, allocations: 117.4 kB / 1.357 GB, free: 10.08 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/1.192, allocations: 91.98 kB / 1.357 GB, free: 9.992 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/1.193, allocations: 0.9142 MB / 1.358 GB, free: 8.988 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.193, allocations: 11.92 kB / 1.358 GB, free: 8.977 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/1.193, allocations: 32 kB / 1.358 GB, free: 8.945 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/1.193, allocations: 20 kB / 1.358 GB, free: 8.926 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009319/1.194, allocations: 0.5111 MB / 1.359 GB, free: 8.41 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.005118/1.199, allocations: 4.853 MB / 1.364 GB, free: 3.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/1.2, allocations: 420.6 kB / 1.364 GB, free: 2.711 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/1.2, allocations: 267.8 kB / 1.364 GB, free: 2.406 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/1.201, allocations: 97.09 kB / 1.364 GB, free: 2.293 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/1.201, allocations: 50.5 kB / 1.364 GB, free: 2.234 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 3.587e-06/1.201, allocations: 0 / 1.364 GB, free: 2.234 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.00191/1.202, allocations: 0.7859 MB / 1.365 GB, free: 1.398 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/1.203, allocations: 401.9 kB / 1.366 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/1.204, allocations: 1.267 MB / 1.367 GB, free: 15.64 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/1.204, allocations: 41.7 kB / 1.367 GB, free: 15.59 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/1.205, allocations: 0.5534 MB / 1.367 GB, free: 15.03 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/1.205, allocations: 102.5 kB / 1.367 GB, free: 14.93 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.205, allocations: 85.59 kB / 1.368 GB, free: 14.84 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.205, allocations: 325.9 kB / 1.368 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/1.205, allocations: 87.94 kB / 1.368 GB, free: 14.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/1.206, allocations: 338.2 kB / 1.368 GB, free: 14 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/1.206, allocations: 332.5 kB / 1.369 GB, free: 13.63 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.206, allocations: 4 kB / 1.369 GB, free: 13.63 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000932/1.207, allocations: 493.2 kB / 1.369 GB, free: 13.13 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.207, allocations: 14.48 kB / 1.369 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.207, allocations: 80 / 1.369 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/1.208, allocations: 74.11 kB / 1.369 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/1.208, allocations: 59.84 kB / 1.369 GB, free: 12.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/1.21, allocations: 3.258 MB / 1.372 GB, free: 9.449 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000849/1.211, allocations: 103.2 kB / 1.372 GB, free: 9.348 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/1.211, allocations: 20 kB / 1.372 GB, free: 9.328 MB / 1.107 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.0004462/1.212, allocations: 274.4 kB / 1.373 GB, free: 9.051 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/1.212, allocations: 134.3 kB / 1.373 GB, free: 8.918 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/1.212, allocations: 128 kB / 1.373 GB, free: 8.789 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.212, allocations: 8 kB / 1.373 GB, free: 8.781 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.212, allocations: 7.938 kB / 1.373 GB, free: 8.773 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/1.213, allocations: 11.98 kB / 1.373 GB, free: 8.762 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/1.216, allocations: 2.516 MB / 1.375 GB, free: 6.102 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.216, allocations: 8 kB / 1.375 GB, free: 6.094 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/1.216, allocations: 47.95 kB / 1.376 GB, free: 6.047 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/1.216, allocations: 77.64 kB / 1.376 GB, free: 5.965 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.216, allocations: 12 kB / 1.376 GB, free: 5.953 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/1.219, allocations: 3.258 MB / 1.379 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.219, allocations: 8 kB / 1.379 GB, free: 2.406 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009952/1.22, allocations: 0.6767 MB / 1.379 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/1.22, allocations: 251.4 kB / 1.38 GB, free: 1.371 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/1.22, allocations: 12 kB / 1.38 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/1.221, allocations: 43.94 kB / 1.38 GB, free: 1.316 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/1.221, allocations: 39.84 kB / 1.38 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/1.221, allocations: 16 kB / 1.38 GB, free: 1.262 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001276/1.223, allocations: 0.8802 MB / 1.381 GB, free: 392 kB / 1.107 GB Notification: Performance of sort global known variables: time 3.21e-07/1.223, allocations: 0 / 1.381 GB, free: 392 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.001066/1.224, allocations: 263.7 kB / 1.381 GB, free: 128 kB / 1.107 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.0005052/1.224, allocations: 217.7 kB / 1.381 GB, free: 15.91 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001043/1.225, allocations: 0.5204 MB / 1.382 GB, free: 15.37 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.225, allocations: 4 kB / 1.382 GB, free: 15.36 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005409/1.226, allocations: 398.9 kB / 1.382 GB, free: 14.95 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/1.229, allocations: 0.7398 MB / 1.383 GB, free: 14.22 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/1.232, allocations: 1.874 MB / 1.385 GB, free: 12.24 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/1.233, allocations: 1.127 MB / 1.386 GB, free: 11.08 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.233, allocations: 79.44 kB / 1.386 GB, free: 11 MB / 1.123 GB Notification: Performance of SimCode: time 4.51e-07/1.233, allocations: 0 / 1.386 GB, free: 11 MB / 1.123 GB Notification: Performance of Templates: time 0.03581/1.269, allocations: 27.68 MB / 1.413 GB, free: 15.5 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches