Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001225/0.001225, allocations: 112.7 kB / 16.37 MB, free: 6 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.001119/0.001119, allocations: 196 kB / 17.31 MB, free: 5.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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 60.88 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3503, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.9278/1.278, allocations: 241.9 MB / 1.255 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01951/1.298, allocations: 13.52 MB / 1.268 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/1.301, allocations: 59.56 kB / 1.268 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/1.304, allocations: 0.9821 MB / 1.269 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005653/1.31, allocations: 1.782 MB / 1.271 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003872/1.313, allocations: 1.24 MB / 1.272 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005871/1.319, allocations: 3.266 MB / 1.275 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/1.322, allocations: 1.047 MB / 1.276 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/1.334, allocations: 4.125 MB / 1.28 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/1.337, allocations: 0.8982 MB / 1.281 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006258/1.337, allocations: 84 kB / 1.281 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/1.34, allocations: 0.6975 MB / 1.282 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007468/1.341, allocations: 438.6 kB / 1.282 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/1.342, allocations: 0.68 MB / 1.283 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/1.345, allocations: 1.526 MB / 1.285 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.345, allocations: 0 / 1.285 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.595e-06/1.345, allocations: 0 / 1.285 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.978e-05/1.345, allocations: 0 / 1.285 GB, free: 8.406 MB / 0.9825 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.002559/1.348, allocations: 1.62 MB / 1.286 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.348, allocations: 8.922 kB / 1.286 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/1.348, allocations: 198.2 kB / 1.286 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/1.35, allocations: 0.9127 MB / 1.287 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/1.35, allocations: 117.4 kB / 1.287 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.35, allocations: 88 kB / 1.288 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/1.352, allocations: 0.919 MB / 1.288 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/1.352, allocations: 7.938 kB / 1.288 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/1.352, allocations: 32 kB / 1.288 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/1.352, allocations: 23.94 kB / 1.288 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/1.353, allocations: 0.5072 MB / 1.289 GB, free: 3.766 MB / 0.9825 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.004961/1.358, allocations: 4.857 MB / 1.294 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/1.358, allocations: 420.7 kB / 1.294 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/1.359, allocations: 263.8 kB / 1.294 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/1.359, allocations: 101.1 kB / 1.294 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/1.359, allocations: 51.5 kB / 1.295 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.554e-06/1.359, allocations: 0 / 1.295 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001813/1.361, allocations: 0.7867 MB / 1.295 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001846/1.361, allocations: 405.8 kB / 1.296 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/1.362, allocations: 1.267 MB / 1.297 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/1.362, allocations: 41.7 kB / 1.297 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/1.363, allocations: 0.5458 MB / 1.297 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/1.363, allocations: 110.4 kB / 1.298 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.363, allocations: 81.61 kB / 1.298 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.363, allocations: 318 kB / 1.298 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/1.363, allocations: 95.92 kB / 1.298 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/1.364, allocations: 335.8 kB / 1.298 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/1.364, allocations: 328.5 kB / 1.299 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.364, allocations: 0 / 1.299 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008318/1.365, allocations: 497.3 kB / 1.299 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.365, allocations: 8.094 kB / 1.299 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.365, allocations: 3.938 kB / 1.299 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/1.365, allocations: 81.98 kB / 1.299 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/1.366, allocations: 55.91 kB / 1.299 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/1.368, allocations: 3.267 MB / 1.302 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/1.369, allocations: 92.19 kB / 1.303 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/1.369, allocations: 23.98 kB / 1.303 GB, free: 4.676 MB / 0.9981 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.0004339/1.369, allocations: 279.9 kB / 1.303 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/1.37, allocations: 134.3 kB / 1.303 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/1.37, allocations: 131.9 kB / 1.303 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.37, allocations: 8 kB / 1.303 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.37, allocations: 7.938 kB / 1.303 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/1.37, allocations: 7.984 kB / 1.303 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/1.373, allocations: 2.516 MB / 1.306 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.373, allocations: 4 kB / 1.306 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/1.373, allocations: 48.61 kB / 1.306 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/1.373, allocations: 73.67 kB / 1.306 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/1.373, allocations: 12 kB / 1.306 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/1.376, allocations: 3.258 MB / 1.309 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.376, allocations: 11.94 kB / 1.309 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008981/1.377, allocations: 0.681 MB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/1.377, allocations: 243.4 kB / 1.31 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/1.377, allocations: 12 kB / 1.31 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/1.378, allocations: 51.94 kB / 1.31 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/1.378, allocations: 39.84 kB / 1.31 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/1.378, allocations: 16 kB / 1.31 GB, free: 12.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001101/1.379, allocations: 0.8802 MB / 1.311 GB, free: 11.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.01e-07/1.379, allocations: 0 / 1.311 GB, free: 11.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009323/1.38, allocations: 255.7 kB / 1.311 GB, free: 11.48 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.0004554/1.38, allocations: 211.5 kB / 1.311 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009291/1.381, allocations: 0.5322 MB / 1.312 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.381, allocations: 0 / 1.312 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004943/1.382, allocations: 407 kB / 1.312 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.385, allocations: 0.7487 MB / 1.313 GB, free: 9.555 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/1.387, allocations: 1.821 MB / 1.315 GB, free: 7.633 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/1.388, allocations: 1.131 MB / 1.316 GB, free: 6.473 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007056/1.388, allocations: 242.5 kB / 1.316 GB, free: 6.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.389, allocations: 79.44 kB / 1.316 GB, free: 6.156 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.389, allocations: 0 / 1.316 GB, free: 6.156 MB / 1.014 GB Notification: Performance of Templates: time 0.04255/1.431, allocations: 23.23 MB / 1.339 GB, free: 15.27 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches