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 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.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.0008065/0.0008065, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005511/0.005511, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.819/2.819, allocations: 462.6 MB / 0.7364 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004113, allocations: 12.06 kB / 0.9027 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3335, allocations: 159.6 MB / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.9051/1.239, allocations: 236.4 MB / 1.29 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01582/1.254, allocations: 13.44 MB / 1.303 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/1.256, allocations: 49.25 kB / 1.303 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/1.259, allocations: 0.8211 MB / 1.303 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00453/1.263, allocations: 1.694 MB / 1.305 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/1.266, allocations: 1.119 MB / 1.306 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005674/1.272, allocations: 4.603 MB / 1.311 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1.274, allocations: 0.889 MB / 1.312 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009524/1.283, allocations: 3.826 MB / 1.315 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/1.285, allocations: 0.9341 MB / 1.316 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/1.286, allocations: 47.81 kB / 1.316 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/1.288, allocations: 0.8939 MB / 1.317 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004911/1.288, allocations: 408.9 kB / 1.318 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/1.289, allocations: 0.6681 MB / 1.318 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/1.291, allocations: 1.525 MB / 1.32 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.291, allocations: 0 / 1.32 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.291, allocations: 0 / 1.32 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.568e-05/1.291, allocations: 0 / 1.32 GB, free: 1.559 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.001962/1.293, allocations: 1.376 MB / 1.321 GB, free: 16.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/1.293, allocations: 14.94 kB / 1.321 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/1.294, allocations: 197.5 kB / 1.321 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/1.295, allocations: 0.8453 MB / 1.322 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/1.295, allocations: 125.5 kB / 1.322 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/1.295, allocations: 84.03 kB / 1.322 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/1.297, allocations: 0.927 MB / 1.323 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/1.297, allocations: 3.906 kB / 1.323 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/1.297, allocations: 35.56 kB / 1.323 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/1.297, allocations: 24.62 kB / 1.323 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/1.298, allocations: 0.5127 MB / 1.324 GB, free: 15.89 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.005462/1.303, allocations: 4.891 MB / 1.329 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/1.304, allocations: 422.5 kB / 1.329 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/1.304, allocations: 273.3 kB / 1.329 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/1.304, allocations: 105.1 kB / 1.329 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/1.304, allocations: 63.5 kB / 1.329 GB, free: 11.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/1.304, allocations: 0 / 1.329 GB, free: 11.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001752/1.306, allocations: 0.8061 MB / 1.33 GB, free: 11.51 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/1.306, allocations: 399.7 kB / 1.33 GB, free: 11.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/1.308, allocations: 1.271 MB / 1.332 GB, free: 10.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/1.308, allocations: 36.55 kB / 1.332 GB, free: 10.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/1.308, allocations: 0.5527 MB / 1.332 GB, free: 10.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.108e-05/1.308, allocations: 106.8 kB / 1.332 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/1.308, allocations: 29 kB / 1.332 GB, free: 10.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.308, allocations: 322.8 kB / 1.333 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/1.308, allocations: 93 kB / 1.333 GB, free: 10.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/1.309, allocations: 349.2 kB / 1.333 GB, free: 10.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/1.309, allocations: 329 kB / 1.333 GB, free: 9.953 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.309, allocations: 3.375 kB / 1.333 GB, free: 9.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007788/1.31, allocations: 0.506 MB / 1.334 GB, free: 9.824 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.31, allocations: 5.188 kB / 1.334 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.31, allocations: 3.031 kB / 1.334 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/1.31, allocations: 70.73 kB / 1.334 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/1.311, allocations: 58.59 kB / 1.334 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/1.313, allocations: 2.935 MB / 1.337 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/1.314, allocations: 117.2 kB / 1.337 GB, free: 7.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/1.314, allocations: 20.5 kB / 1.337 GB, free: 7.086 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.0003896/1.314, allocations: 273.7 kB / 1.337 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/1.315, allocations: 145 kB / 1.338 GB, free: 6.895 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/1.315, allocations: 120.9 kB / 1.338 GB, free: 6.875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/1.315, allocations: 10.41 kB / 1.338 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.315, allocations: 8.094 kB / 1.338 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.315, allocations: 2.938 kB / 1.338 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/1.318, allocations: 2.532 MB / 1.34 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.318, allocations: 8.375 kB / 1.34 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/1.318, allocations: 52.48 kB / 1.34 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/1.319, allocations: 71.39 kB / 1.34 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/1.319, allocations: 15.84 kB / 1.34 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/1.321, allocations: 2.933 MB / 1.343 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.321, allocations: 7.812 kB / 1.343 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/1.322, allocations: 0.6827 MB / 1.344 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/1.322, allocations: 250 kB / 1.344 GB, free: 2.074 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/1.322, allocations: 15.94 kB / 1.344 GB, free: 2.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/1.323, allocations: 74.56 kB / 1.344 GB, free: 2.059 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/1.323, allocations: 44.08 kB / 1.344 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/1.323, allocations: 18.31 kB / 1.344 GB, free: 2.051 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001067/1.325, allocations: 0.8775 MB / 1.345 GB, free: 1.941 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.325, allocations: 0 / 1.345 GB, free: 1.941 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001149/1.326, allocations: 272.2 kB / 1.345 GB, free: 1.926 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.0004717/1.326, allocations: 214.1 kB / 1.346 GB, free: 1.812 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009495/1.327, allocations: 0.512 MB / 1.346 GB, free: 1.586 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.327, allocations: 2.125 kB / 1.346 GB, free: 1.586 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005356/1.328, allocations: 415.4 kB / 1.346 GB, free: 1.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/1.333, allocations: 0.7962 MB / 1.347 GB, free: 1.281 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/1.336, allocations: 2.182 MB / 1.349 GB, free: 16 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/1.337, allocations: 1.137 MB / 1.35 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009692/1.338, allocations: 240.5 kB / 1.351 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/1.338, allocations: 97.38 kB / 1.351 GB, free: 15.23 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/1.338, allocations: 2.625 kB / 1.351 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Templates: time 0.04332/1.381, allocations: 24.11 MB / 1.374 GB, free: 5.914 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