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.001894/0.001894, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.002136/0.002136, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.489/1.489, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 482.4 MB / 0.755 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.81 kB / 0.924 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.9516/1.303, allocations: 239 MB / 1.316 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01855/1.321, allocations: 13.46 MB / 1.329 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/1.324, allocations: 55.31 kB / 1.329 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003121/1.328, allocations: 0.8563 MB / 1.33 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005594/1.333, allocations: 1.647 MB / 1.332 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/1.337, allocations: 1.128 MB / 1.333 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005468/1.342, allocations: 3.243 MB / 1.336 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/1.344, allocations: 1.006 MB / 1.337 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/1.355, allocations: 4.081 MB / 1.341 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/1.358, allocations: 0.9279 MB / 1.342 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002724/1.358, allocations: 78.31 kB / 1.342 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/1.36, allocations: 0.7338 MB / 1.342 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005054/1.36, allocations: 451.2 kB / 1.343 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.362, allocations: 0.6827 MB / 1.344 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/1.363, allocations: 1.103 MB / 1.345 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.363, allocations: 4 kB / 1.345 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.363, allocations: 0 / 1.345 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.929e-05/1.363, allocations: 0 / 1.345 GB, free: 3.961 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.002759/1.366, allocations: 1.624 MB / 1.346 GB, free: 18.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.366, allocations: 9.625 kB / 1.346 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007169/1.367, allocations: 200 kB / 1.346 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/1.368, allocations: 0.8234 MB / 1.347 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/1.368, allocations: 125.8 kB / 1.347 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/1.368, allocations: 91.16 kB / 1.347 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.37, allocations: 0.9202 MB / 1.348 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/1.37, allocations: 5.219 kB / 1.348 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/1.37, allocations: 33.81 kB / 1.348 GB, free: 17.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/1.37, allocations: 20.97 kB / 1.348 GB, free: 17.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/1.371, allocations: 0.5078 MB / 1.349 GB, free: 17.52 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.005418/1.376, allocations: 4.878 MB / 1.354 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/1.377, allocations: 412.5 kB / 1.354 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/1.377, allocations: 266.4 kB / 1.354 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/1.377, allocations: 101.6 kB / 1.354 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/1.377, allocations: 57.94 kB / 1.354 GB, free: 12.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/1.377, allocations: 0 / 1.354 GB, free: 12.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001871/1.379, allocations: 0.7796 MB / 1.355 GB, free: 12.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002644/1.379, allocations: 404.2 kB / 1.356 GB, free: 12.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/1.381, allocations: 1.265 MB / 1.357 GB, free: 11.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/1.381, allocations: 38.42 kB / 1.357 GB, free: 11.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/1.381, allocations: 0.5568 MB / 1.357 GB, free: 11.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.382, allocations: 107 kB / 1.357 GB, free: 11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.382, allocations: 79.83 kB / 1.358 GB, free: 10.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.382, allocations: 316.5 kB / 1.358 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/1.382, allocations: 100.9 kB / 1.358 GB, free: 10.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/1.383, allocations: 338.7 kB / 1.358 GB, free: 10.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/1.383, allocations: 330.4 kB / 1.359 GB, free: 10.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.383, allocations: 3.469 kB / 1.359 GB, free: 10.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009218/1.384, allocations: 497.1 kB / 1.359 GB, free: 9.926 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.384, allocations: 8 kB / 1.359 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.384, allocations: 6.594 kB / 1.359 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/1.384, allocations: 75.59 kB / 1.359 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/1.385, allocations: 55.38 kB / 1.359 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/1.388, allocations: 3.257 MB / 1.362 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/1.389, allocations: 114.2 kB / 1.363 GB, free: 6.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/1.389, allocations: 26.09 kB / 1.363 GB, free: 6.652 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.000579/1.389, allocations: 276 kB / 1.363 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/1.39, allocations: 136.5 kB / 1.363 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/1.39, allocations: 129 kB / 1.363 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.39, allocations: 5.469 kB / 1.363 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.39, allocations: 4.625 kB / 1.363 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.39, allocations: 3.594 kB / 1.363 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/1.394, allocations: 2.524 MB / 1.366 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/1.394, allocations: 4.312 kB / 1.366 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/1.394, allocations: 49.83 kB / 1.366 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/1.394, allocations: 73.73 kB / 1.366 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/1.394, allocations: 12.31 kB / 1.366 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/1.397, allocations: 3.272 MB / 1.369 GB, free: 1.297 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.397, allocations: 12.16 kB / 1.369 GB, free: 1.293 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/1.398, allocations: 0.6648 MB / 1.37 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/1.399, allocations: 249.7 kB / 1.37 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.399, allocations: 15.3 kB / 1.37 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/1.4, allocations: 63.92 kB / 1.37 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/1.4, allocations: 43.12 kB / 1.37 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/1.4, allocations: 20.11 kB / 1.37 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001235/1.401, allocations: 0.8824 MB / 1.371 GB, free: 244 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.401, allocations: 0 / 1.371 GB, free: 244 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.001325/1.403, allocations: 270.6 kB / 1.371 GB, free: 216 kB / 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.0005751/1.403, allocations: 215.8 kB / 1.371 GB, free: 88 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001124/1.404, allocations: 0.5209 MB / 1.372 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/1.404, allocations: 0 / 1.372 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005861/1.405, allocations: 398.2 kB / 1.372 GB, free: 15.53 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/1.409, allocations: 0.7509 MB / 1.373 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/1.412, allocations: 2.224 MB / 1.375 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/1.413, allocations: 1.126 MB / 1.376 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/1.413, allocations: 80.27 kB / 1.376 GB, free: 13.11 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/1.413, allocations: 0 / 1.376 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Templates: time 0.04384/1.457, allocations: 27.57 MB / 1.403 GB, free: 476 kB / 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches