Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Validation.PressureDropsExplicitLinearized,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.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_latest_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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 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.001281/0.001281, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 66.88 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8308/1.109, allocations: 241.9 MB / 1.304 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01647/1.125, allocations: 13.54 MB / 1.318 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/1.128, allocations: 61.25 kB / 1.318 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/1.13, allocations: 0.9773 MB / 1.319 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005082/1.136, allocations: 1.786 MB / 1.32 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/1.139, allocations: 1.223 MB / 1.322 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005038/1.144, allocations: 3.257 MB / 1.325 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/1.146, allocations: 1.053 MB / 1.326 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/1.156, allocations: 4.11 MB / 1.33 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/1.158, allocations: 0.9036 MB / 1.331 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000524/1.159, allocations: 78.69 kB / 1.331 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/1.161, allocations: 0.6951 MB / 1.331 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005535/1.162, allocations: 445 kB / 1.332 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/1.163, allocations: 0.6844 MB / 1.333 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002675/1.166, allocations: 1.49 MB / 1.334 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.166, allocations: 0 / 1.334 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.764e-06/1.166, allocations: 0 / 1.334 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.008e-05/1.166, allocations: 0 / 1.334 GB, free: 3.859 MB / 0.9981 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.002601/1.168, allocations: 1.623 MB / 1.336 GB, free: 18.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/1.168, allocations: 15.16 kB / 1.336 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/1.169, allocations: 198.7 kB / 1.336 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/1.17, allocations: 0.8356 MB / 1.337 GB, free: 18.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/1.17, allocations: 122.3 kB / 1.337 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.17, allocations: 86.22 kB / 1.337 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/1.172, allocations: 0.9108 MB / 1.338 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/1.172, allocations: 4.5 kB / 1.338 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/1.172, allocations: 39.09 kB / 1.338 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/1.172, allocations: 27.66 kB / 1.338 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008655/1.173, allocations: 0.5083 MB / 1.338 GB, free: 18.14 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.004793/1.178, allocations: 4.879 MB / 1.343 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/1.178, allocations: 424.6 kB / 1.343 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/1.178, allocations: 264.4 kB / 1.344 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/1.179, allocations: 101.9 kB / 1.344 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.179, allocations: 50.19 kB / 1.344 GB, free: 14.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/1.179, allocations: 0 / 1.344 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.00183/1.181, allocations: 0.7851 MB / 1.345 GB, free: 13.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/1.181, allocations: 404.5 kB / 1.345 GB, free: 13.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/1.182, allocations: 1.269 MB / 1.346 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/1.182, allocations: 38.3 kB / 1.346 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/1.182, allocations: 0.5529 MB / 1.347 GB, free: 12.97 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/1.183, allocations: 104.5 kB / 1.347 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.183, allocations: 85.17 kB / 1.347 GB, free: 12.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.183, allocations: 324.8 kB / 1.347 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/1.183, allocations: 88.12 kB / 1.347 GB, free: 12.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/1.183, allocations: 338.5 kB / 1.348 GB, free: 12.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/1.184, allocations: 329.1 kB / 1.348 GB, free: 12.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.184, allocations: 0 / 1.348 GB, free: 12.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007969/1.185, allocations: 0.4883 MB / 1.348 GB, free: 12.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.185, allocations: 7.688 kB / 1.349 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.185, allocations: 3.594 kB / 1.349 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/1.185, allocations: 72.55 kB / 1.349 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/1.185, allocations: 55.05 kB / 1.349 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/1.187, allocations: 3.277 MB / 1.352 GB, free: 9.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/1.188, allocations: 95.19 kB / 1.352 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/1.188, allocations: 19.28 kB / 1.352 GB, free: 9.008 MB / 1.014 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.0003488/1.189, allocations: 279.6 kB / 1.352 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/1.189, allocations: 140.2 kB / 1.352 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/1.189, allocations: 125.9 kB / 1.352 GB, free: 8.793 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/1.189, allocations: 9.062 kB / 1.352 GB, free: 8.793 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.189, allocations: 5.031 kB / 1.352 GB, free: 8.793 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.189, allocations: 5.156 kB / 1.352 GB, free: 8.793 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/1.192, allocations: 2.522 MB / 1.355 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.192, allocations: 3.375 kB / 1.355 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/1.192, allocations: 53.36 kB / 1.355 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/1.192, allocations: 81.52 kB / 1.355 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/1.192, allocations: 10.19 kB / 1.355 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/1.195, allocations: 3.257 MB / 1.358 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.195, allocations: 14.53 kB / 1.358 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009203/1.196, allocations: 0.6642 MB / 1.359 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/1.196, allocations: 250.3 kB / 1.359 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/1.196, allocations: 18 kB / 1.359 GB, free: 3.535 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/1.197, allocations: 39.41 kB / 1.359 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/1.197, allocations: 45.22 kB / 1.359 GB, free: 3.516 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/1.197, allocations: 18.97 kB / 1.359 GB, free: 3.512 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001067/1.198, allocations: 0.8784 MB / 1.36 GB, free: 3.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.198, allocations: 0 / 1.36 GB, free: 3.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001003/1.199, allocations: 260.1 kB / 1.36 GB, free: 3.148 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.0004399/1.199, allocations: 216.6 kB / 1.361 GB, free: 3.027 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009108/1.2, allocations: 0.5228 MB / 1.361 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.2, allocations: 0 / 1.361 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004938/1.201, allocations: 404.9 kB / 1.361 GB, free: 2.457 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/1.204, allocations: 0.7493 MB / 1.362 GB, free: 2.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/1.207, allocations: 1.852 MB / 1.364 GB, free: 1.152 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/1.208, allocations: 1.133 MB / 1.365 GB, free: 424 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000873/1.209, allocations: 242.4 kB / 1.365 GB, free: 372 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/1.209, allocations: 78.62 kB / 1.365 GB, free: 364 kB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.209, allocations: 7.938 kB / 1.365 GB, free: 356 kB / 1.014 GB Notification: Performance of Templates: time 0.03949/1.248, allocations: 23.27 MB / 1.388 GB, free: 7.273 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches