Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001328/0.001328, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 71.83 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8839/0.8854, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.2691/1.155, allocations: 241.9 MB / 1.445 GB, free: 10.9 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0222/1.177, allocations: 13.52 MB / 1.458 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/1.18, allocations: 59.56 kB / 1.458 GB, free: 13.29 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/1.183, allocations: 0.9821 MB / 1.459 GB, free: 12.3 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005861/1.189, allocations: 1.776 MB / 1.461 GB, free: 10.51 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003808/1.193, allocations: 1.243 MB / 1.462 GB, free: 9.277 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00557/1.198, allocations: 3.304 MB / 1.465 GB, free: 5.965 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/1.201, allocations: 1.07 MB / 1.466 GB, free: 4.871 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01103/1.212, allocations: 4.148 MB / 1.47 GB, free: 0.707 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/1.214, allocations: 0.9023 MB / 1.471 GB, free: 15.8 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004996/1.214, allocations: 76 kB / 1.471 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/1.217, allocations: 1.037 MB / 1.472 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008038/1.218, allocations: 450.5 kB / 1.473 GB, free: 14.25 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/1.22, allocations: 0.6801 MB / 1.473 GB, free: 13.56 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003785/1.224, allocations: 1.666 MB / 1.475 GB, free: 11.89 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.224, allocations: 0 / 1.475 GB, free: 11.89 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.986e-06/1.224, allocations: 4 kB / 1.475 GB, free: 11.89 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.942e-05/1.224, allocations: 0 / 1.475 GB, free: 11.89 MB / 1.201 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.00328/1.227, allocations: 1.635 MB / 1.476 GB, free: 10.2 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.227, allocations: 8.031 kB / 1.476 GB, free: 10.19 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008106/1.228, allocations: 206.1 kB / 1.477 GB, free: 9.984 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/1.23, allocations: 0.9011 MB / 1.477 GB, free: 9.027 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/1.23, allocations: 125.4 kB / 1.478 GB, free: 8.895 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.23, allocations: 87.94 kB / 1.478 GB, free: 8.809 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/1.232, allocations: 0.9337 MB / 1.479 GB, free: 7.781 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/1.232, allocations: 7.938 kB / 1.479 GB, free: 7.773 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/1.232, allocations: 36 kB / 1.479 GB, free: 7.738 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/1.232, allocations: 24 kB / 1.479 GB, free: 7.715 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/1.233, allocations: 0.5071 MB / 1.479 GB, free: 7.211 MB / 1.201 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.005671/1.239, allocations: 4.892 MB / 1.484 GB, free: 2.004 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/1.239, allocations: 428.7 kB / 1.484 GB, free: 1.457 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/1.24, allocations: 279.8 kB / 1.485 GB, free: 1.141 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/1.24, allocations: 109.1 kB / 1.485 GB, free: 1.016 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/1.24, allocations: 58.42 kB / 1.485 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of pre-optimization done (n=35): time 2.475e-06/1.24, allocations: 4 kB / 1.485 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002497/1.242, allocations: 0.8755 MB / 1.486 GB, free: 20 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/1.243, allocations: 405.5 kB / 1.486 GB, free: 15.53 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/1.244, allocations: 1.235 MB / 1.487 GB, free: 14.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/1.244, allocations: 37.7 kB / 1.487 GB, free: 14.24 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/1.245, allocations: 0.5341 MB / 1.488 GB, free: 13.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/1.245, allocations: 126.2 kB / 1.488 GB, free: 13.58 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/1.245, allocations: 85.59 kB / 1.488 GB, free: 13.49 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.245, allocations: 318 kB / 1.488 GB, free: 13.17 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/1.246, allocations: 104.8 kB / 1.488 GB, free: 13.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/1.246, allocations: 351.7 kB / 1.489 GB, free: 12.63 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/1.247, allocations: 348.6 kB / 1.489 GB, free: 12.24 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.247, allocations: 4 kB / 1.489 GB, free: 12.24 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001405/1.248, allocations: 0.5637 MB / 1.49 GB, free: 11.66 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.248, allocations: 9.562 kB / 1.49 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.248, allocations: 4 kB / 1.49 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/1.249, allocations: 125.7 kB / 1.49 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/1.249, allocations: 91.88 kB / 1.49 GB, free: 11.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/1.251, allocations: 2.312 MB / 1.492 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/1.252, allocations: 91.39 kB / 1.492 GB, free: 8.93 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/1.252, allocations: 27.98 kB / 1.492 GB, free: 8.902 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005637/1.252, allocations: 312 kB / 1.492 GB, free: 8.594 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004102/1.253, allocations: 339.7 kB / 1.493 GB, free: 8.168 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005028/1.253, allocations: 332.5 kB / 1.493 GB, free: 7.797 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.85e-06/1.253, allocations: 3.938 kB / 1.493 GB, free: 7.793 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001071/1.254, allocations: 0.4977 MB / 1.494 GB, free: 7.281 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.254, allocations: 11.94 kB / 1.494 GB, free: 7.27 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/1.254, allocations: 4 kB / 1.494 GB, free: 7.266 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/1.255, allocations: 73.89 kB / 1.494 GB, free: 7.188 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/1.255, allocations: 63.91 kB / 1.494 GB, free: 7.125 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/1.257, allocations: 3.262 MB / 1.497 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/1.258, allocations: 75.72 kB / 1.497 GB, free: 3.512 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/1.258, allocations: 20 kB / 1.497 GB, free: 3.492 MB / 1.217 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002619/1.259, allocations: 212.2 kB / 1.497 GB, free: 3.281 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005299/1.259, allocations: 134.4 kB / 1.497 GB, free: 3.148 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009784/1.26, allocations: 436.5 kB / 1.498 GB, free: 2.699 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.26, allocations: 4 kB / 1.498 GB, free: 2.695 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.26, allocations: 4 kB / 1.498 GB, free: 2.691 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.26, allocations: 4 kB / 1.498 GB, free: 2.688 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/1.264, allocations: 2.557 MB / 1.5 GB, free: 15.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.264, allocations: 11.98 kB / 1.5 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/1.264, allocations: 67.88 kB / 1.5 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/1.265, allocations: 78.3 kB / 1.5 GB, free: 15.83 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/1.265, allocations: 12 kB / 1.5 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/1.266, allocations: 2.312 MB / 1.503 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.266, allocations: 11.94 kB / 1.503 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.267, allocations: 0.7721 MB / 1.503 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/1.267, allocations: 251.4 kB / 1.504 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/1.268, allocations: 12 kB / 1.504 GB, free: 12.26 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/1.268, allocations: 47.88 kB / 1.504 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/1.269, allocations: 43.67 kB / 1.504 GB, free: 12.17 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/1.269, allocations: 19.94 kB / 1.504 GB, free: 12.15 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001318/1.27, allocations: 0.8606 MB / 1.505 GB, free: 11.29 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.6e-07/1.27, allocations: 7.938 kB / 1.505 GB, free: 11.29 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001567/1.272, allocations: 451.4 kB / 1.505 GB, free: 10.84 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005924/1.272, allocations: 232.5 kB / 1.505 GB, free: 10.62 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001951/1.274, allocations: 0.739 MB / 1.506 GB, free: 9.855 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.274, allocations: 5.125 kB / 1.506 GB, free: 9.852 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004933/1.275, allocations: 192.2 kB / 1.506 GB, free: 9.664 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/1.278, allocations: 0.7422 MB / 1.507 GB, free: 8.926 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/1.281, allocations: 1.891 MB / 1.509 GB, free: 6.938 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/1.282, allocations: 1.127 MB / 1.51 GB, free: 5.781 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/1.282, allocations: 79.42 kB / 1.51 GB, free: 5.703 MB / 1.232 GB Notification: Performance of SimCode: time 1.102e-06/1.282, allocations: 0 / 1.51 GB, free: 5.703 MB / 1.232 GB Notification: Performance of Templates: time 0.04419/1.327, allocations: 36.88 MB / 1.546 GB, free: 0.9727 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches