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.0009633/0.000963, allocations: 92.31 kB / 16.02 MB, free: 80 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.001177/0.001177, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.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.66/2.66, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 12 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7366, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.907/1.644, allocations: 236.4 MB / 1.255 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01906/1.663, allocations: 13.43 MB / 1.268 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/1.665, allocations: 52.53 kB / 1.268 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002999/1.668, allocations: 0.8199 MB / 1.269 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006821/1.675, allocations: 1.696 MB / 1.27 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005606/1.681, allocations: 1.122 MB / 1.271 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008047/1.689, allocations: 4.6 MB / 1.276 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/1.691, allocations: 0.8816 MB / 1.277 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01081/1.702, allocations: 3.822 MB / 1.28 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/1.704, allocations: 0.9428 MB / 1.281 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002746/1.704, allocations: 51.88 kB / 1.281 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/1.707, allocations: 0.8911 MB / 1.282 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004927/1.707, allocations: 412.6 kB / 1.283 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/1.708, allocations: 0.6665 MB / 1.283 GB, free: 17.62 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/1.71, allocations: 1.068 MB / 1.284 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.71, allocations: 0 / 1.284 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.71, allocations: 0 / 1.284 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.746e-05/1.71, allocations: 0 / 1.284 GB, free: 17.51 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.00185/1.711, allocations: 1.381 MB / 1.286 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.711, allocations: 9.062 kB / 1.286 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006309/1.712, allocations: 198.9 kB / 1.286 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/1.713, allocations: 0.8349 MB / 1.287 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.713, allocations: 125.9 kB / 1.287 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/1.713, allocations: 84.88 kB / 1.287 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/1.715, allocations: 0.9265 MB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/1.715, allocations: 4.531 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/1.715, allocations: 31.38 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/1.715, allocations: 25.97 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/1.716, allocations: 0.522 MB / 1.288 GB, free: 15.85 MB / 0.9981 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.004646/1.72, allocations: 4.887 MB / 1.293 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/1.721, allocations: 428.1 kB / 1.294 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/1.721, allocations: 269.1 kB / 1.294 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/1.721, allocations: 109.4 kB / 1.294 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/1.722, allocations: 48.75 kB / 1.294 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 3.367e-06/1.722, allocations: 4 kB / 1.294 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.00182/1.723, allocations: 0.8045 MB / 1.295 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/1.724, allocations: 404.3 kB / 1.295 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/1.725, allocations: 1.275 MB / 1.296 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/1.725, allocations: 32.45 kB / 1.296 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005637/1.726, allocations: 0.5574 MB / 1.297 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.726, allocations: 111.5 kB / 1.297 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/1.726, allocations: 31.81 kB / 1.297 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.726, allocations: 319.7 kB / 1.297 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/1.726, allocations: 99.84 kB / 1.297 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/1.727, allocations: 345 kB / 1.298 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/1.727, allocations: 341.2 kB / 1.298 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.727, allocations: 0 / 1.298 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009765/1.728, allocations: 0.4938 MB / 1.299 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.728, allocations: 6.5 kB / 1.299 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/1.728, allocations: 2.031 kB / 1.299 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/1.729, allocations: 75.41 kB / 1.299 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/1.729, allocations: 58.11 kB / 1.299 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/1.731, allocations: 2.935 MB / 1.302 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/1.732, allocations: 114.3 kB / 1.302 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/1.732, allocations: 24.23 kB / 1.302 GB, free: 7.039 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.0004644/1.733, allocations: 275.9 kB / 1.302 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/1.733, allocations: 137.2 kB / 1.302 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/1.733, allocations: 128.5 kB / 1.302 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.733, allocations: 5.25 kB / 1.302 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.733, allocations: 10.5 kB / 1.302 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.733, allocations: 9.172 kB / 1.302 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/1.736, allocations: 2.526 MB / 1.305 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.736, allocations: 3.281 kB / 1.305 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/1.737, allocations: 49.94 kB / 1.305 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/1.737, allocations: 76.11 kB / 1.305 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/1.737, allocations: 12.03 kB / 1.305 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/1.739, allocations: 2.935 MB / 1.308 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.739, allocations: 9.094 kB / 1.308 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/1.74, allocations: 0.6827 MB / 1.308 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/1.74, allocations: 252.3 kB / 1.309 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.741, allocations: 15.91 kB / 1.309 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/1.741, allocations: 68.41 kB / 1.309 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/1.741, allocations: 42.36 kB / 1.309 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/1.741, allocations: 23.5 kB / 1.309 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001108/1.743, allocations: 0.8745 MB / 1.31 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.743, allocations: 0 / 1.31 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001132/1.744, allocations: 276.5 kB / 1.31 GB, free: 1.898 MB / 0.9981 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.0004851/1.744, allocations: 208.5 kB / 1.31 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009427/1.745, allocations: 0.5311 MB / 1.311 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.745, allocations: 0 / 1.311 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/1.746, allocations: 415.9 kB / 1.311 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/1.75, allocations: 0.7892 MB / 1.312 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/1.753, allocations: 2.232 MB / 1.314 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/1.754, allocations: 1.14 MB / 1.315 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.754, allocations: 89.03 kB / 1.315 GB, free: 15.23 MB / 1.014 GB Notification: Performance of SimCode: time 9.02e-07/1.754, allocations: 0 / 1.315 GB, free: 15.23 MB / 1.014 GB Notification: Performance of Templates: time 0.04148/1.796, allocations: 27.47 MB / 1.342 GB, free: 5.395 MB / 1.014 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 -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