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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001684/0.001684, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001724/0.001724, allocations: 187 kB / 17.34 MB, free: 5.742 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.84 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8463/0.8478, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2778/1.126, allocations: 241.9 MB / 1.445 GB, free: 10.84 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02128/1.147, allocations: 13.52 MB / 1.458 GB, free: 13.29 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/1.149, allocations: 63.56 kB / 1.458 GB, free: 13.22 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003181/1.153, allocations: 0.9743 MB / 1.459 GB, free: 12.24 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005649/1.158, allocations: 1.792 MB / 1.461 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/1.162, allocations: 1.246 MB / 1.462 GB, free: 9.207 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005341/1.167, allocations: 3.258 MB / 1.465 GB, free: 5.938 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/1.17, allocations: 1.051 MB / 1.466 GB, free: 4.863 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01113/1.181, allocations: 4.141 MB / 1.47 GB, free: 0.707 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/1.183, allocations: 0.8983 MB / 1.471 GB, free: 15.8 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004866/1.183, allocations: 84 kB / 1.471 GB, free: 15.72 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/1.186, allocations: 0.6974 MB / 1.472 GB, free: 15.02 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007783/1.186, allocations: 442.6 kB / 1.472 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/1.188, allocations: 0.68 MB / 1.473 GB, free: 13.91 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003142/1.191, allocations: 1.522 MB / 1.474 GB, free: 12.38 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.191, allocations: 4 kB / 1.474 GB, free: 12.38 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.155e-06/1.191, allocations: 0 / 1.474 GB, free: 12.38 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.713e-05/1.191, allocations: 0 / 1.474 GB, free: 12.38 MB / 1.201 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.003204/1.194, allocations: 1.623 MB / 1.476 GB, free: 10.7 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.194, allocations: 8.031 kB / 1.476 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008755/1.195, allocations: 206.1 kB / 1.476 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/1.197, allocations: 0.8972 MB / 1.477 GB, free: 9.531 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/1.197, allocations: 125.4 kB / 1.477 GB, free: 9.398 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/1.198, allocations: 84 kB / 1.477 GB, free: 9.316 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/1.199, allocations: 0.9181 MB / 1.478 GB, free: 8.305 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.199, allocations: 3.938 kB / 1.478 GB, free: 8.301 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/1.199, allocations: 36 kB / 1.478 GB, free: 8.266 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/1.199, allocations: 20 kB / 1.478 GB, free: 8.246 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/1.2, allocations: 0.5072 MB / 1.479 GB, free: 7.742 MB / 1.201 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.005715/1.206, allocations: 4.86 MB / 1.483 GB, free: 2.566 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/1.207, allocations: 420.7 kB / 1.484 GB, free: 2.027 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/1.207, allocations: 263.8 kB / 1.484 GB, free: 1.727 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/1.207, allocations: 101.3 kB / 1.484 GB, free: 1.609 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/1.208, allocations: 58.38 kB / 1.484 GB, free: 1.543 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 2.475e-06/1.208, allocations: 0 / 1.484 GB, free: 1.543 MB / 1.201 GB Notification: Performance of matching and sorting (n=31): time 0.002098/1.21, allocations: 0.782 MB / 1.485 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/1.21, allocations: 397.9 kB / 1.485 GB, free: 236 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/1.212, allocations: 1.271 MB / 1.487 GB, free: 14.95 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.918e-05/1.212, allocations: 33.7 kB / 1.487 GB, free: 14.91 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/1.212, allocations: 0.5534 MB / 1.487 GB, free: 14.35 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/1.213, allocations: 106.5 kB / 1.487 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.213, allocations: 89.53 kB / 1.487 GB, free: 14.15 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.213, allocations: 321.9 kB / 1.488 GB, free: 13.83 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/1.213, allocations: 91.94 kB / 1.488 GB, free: 13.74 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/1.214, allocations: 336 kB / 1.488 GB, free: 13.32 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/1.214, allocations: 328.5 kB / 1.488 GB, free: 12.95 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.214, allocations: 0 / 1.488 GB, free: 12.95 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001037/1.215, allocations: 497.2 kB / 1.489 GB, free: 12.45 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.215, allocations: 4 kB / 1.489 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.215, allocations: 4 kB / 1.489 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/1.216, allocations: 77.89 kB / 1.489 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/1.216, allocations: 59.91 kB / 1.489 GB, free: 12.3 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/1.219, allocations: 3.25 MB / 1.492 GB, free: 8.777 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/1.219, allocations: 99.06 kB / 1.492 GB, free: 8.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/1.22, allocations: 20 kB / 1.492 GB, free: 8.66 MB / 1.217 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.0005012/1.22, allocations: 281.7 kB / 1.493 GB, free: 8.375 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005071/1.221, allocations: 138.4 kB / 1.493 GB, free: 8.238 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/1.221, allocations: 128 kB / 1.493 GB, free: 8.109 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.221, allocations: 4 kB / 1.493 GB, free: 8.105 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.221, allocations: 7.938 kB / 1.493 GB, free: 8.098 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/1.221, allocations: 7.984 kB / 1.493 GB, free: 8.09 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/1.225, allocations: 2.516 MB / 1.495 GB, free: 5.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/1.225, allocations: 4.094 kB / 1.495 GB, free: 5.426 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/1.225, allocations: 56.53 kB / 1.495 GB, free: 5.371 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/1.225, allocations: 73.67 kB / 1.495 GB, free: 5.293 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/1.225, allocations: 15.94 kB / 1.495 GB, free: 5.277 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/1.228, allocations: 3.258 MB / 1.499 GB, free: 1.742 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.228, allocations: 11.94 kB / 1.499 GB, free: 1.73 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.229, allocations: 0.6806 MB / 1.499 GB, free: 0.957 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/1.229, allocations: 243.4 kB / 1.499 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/1.23, allocations: 12 kB / 1.5 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008056/1.23, allocations: 47.94 kB / 1.5 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.23, allocations: 43.84 kB / 1.5 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/1.231, allocations: 12 kB / 1.5 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001561/1.232, allocations: 0.8802 MB / 1.5 GB, free: 15.71 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.884e-06/1.232, allocations: 0 / 1.5 GB, free: 15.71 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001273/1.233, allocations: 263.6 kB / 1.501 GB, free: 15.45 MB / 1.232 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.00058/1.234, allocations: 220.2 kB / 1.501 GB, free: 15.23 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001182/1.235, allocations: 0.5204 MB / 1.501 GB, free: 14.69 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.235, allocations: 0 / 1.501 GB, free: 14.69 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006121/1.236, allocations: 407.1 kB / 1.502 GB, free: 14.27 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/1.24, allocations: 0.7469 MB / 1.503 GB, free: 13.53 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/1.243, allocations: 1.872 MB / 1.504 GB, free: 11.55 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/1.244, allocations: 1.127 MB / 1.505 GB, free: 10.39 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/1.244, allocations: 83.44 kB / 1.506 GB, free: 10.31 MB / 1.232 GB Notification: Performance of SimCode: time 9.42e-07/1.244, allocations: 0 / 1.506 GB, free: 10.31 MB / 1.232 GB Notification: Performance of Templates: time 0.04013/1.284, allocations: 27.67 MB / 1.533 GB, free: 14.81 MB / 1.264 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/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