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.00533/0.00533, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001135/0.001135, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.629/2.629, allocations: 472.6 MB / 0.7453 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.842, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2556/1.098, allocations: 241.9 MB / 1.462 GB, free: 10.69 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01922/1.117, allocations: 13.53 MB / 1.475 GB, free: 13.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/1.12, allocations: 63.56 kB / 1.475 GB, free: 13.06 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003198/1.123, allocations: 0.9782 MB / 1.476 GB, free: 12.08 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005357/1.129, allocations: 1.776 MB / 1.478 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/1.132, allocations: 1.247 MB / 1.479 GB, free: 9.062 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004846/1.137, allocations: 3.254 MB / 1.482 GB, free: 5.797 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/1.138, allocations: 1.059 MB / 1.483 GB, free: 4.711 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009896/1.148, allocations: 4.121 MB / 1.487 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/1.15, allocations: 0.8983 MB / 1.488 GB, free: 15.67 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/1.15, allocations: 76 kB / 1.488 GB, free: 15.6 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/1.152, allocations: 0.7014 MB / 1.489 GB, free: 14.89 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/1.152, allocations: 438.6 kB / 1.489 GB, free: 14.46 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007758/1.153, allocations: 0.6839 MB / 1.49 GB, free: 13.78 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/1.155, allocations: 1.529 MB / 1.492 GB, free: 12.24 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.155, allocations: 3.938 kB / 1.492 GB, free: 12.24 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.874e-06/1.155, allocations: 0 / 1.492 GB, free: 12.24 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.529e-05/1.155, allocations: 4 kB / 1.492 GB, free: 12.23 MB / 1.217 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.002123/1.157, allocations: 1.665 MB / 1.493 GB, free: 10.52 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/1.157, allocations: 8.031 kB / 1.493 GB, free: 10.51 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006308/1.158, allocations: 203 kB / 1.493 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/1.159, allocations: 0.9178 MB / 1.494 GB, free: 9.336 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/1.16, allocations: 117.4 kB / 1.494 GB, free: 9.207 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/1.16, allocations: 88 kB / 1.494 GB, free: 9.121 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/1.161, allocations: 0.9181 MB / 1.495 GB, free: 8.117 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.161, allocations: 7.938 kB / 1.495 GB, free: 8.109 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/1.161, allocations: 36 kB / 1.495 GB, free: 8.074 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/1.161, allocations: 23.94 kB / 1.495 GB, free: 8.051 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/1.162, allocations: 0.5149 MB / 1.496 GB, free: 7.535 MB / 1.217 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.004734/1.167, allocations: 4.866 MB / 1.501 GB, free: 2.359 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/1.167, allocations: 420.7 kB / 1.501 GB, free: 1.82 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/1.168, allocations: 268 kB / 1.501 GB, free: 1.516 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/1.168, allocations: 101.1 kB / 1.501 GB, free: 1.398 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/1.168, allocations: 58.42 kB / 1.501 GB, free: 1.332 MB / 1.217 GB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/1.168, allocations: 4 kB / 1.501 GB, free: 1.328 MB / 1.217 GB Notification: Performance of matching and sorting (n=31): time 0.001748/1.17, allocations: 0.7712 MB / 1.502 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/1.17, allocations: 405.4 kB / 1.503 GB, free: 20 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/1.171, allocations: 1.275 MB / 1.504 GB, free: 14.73 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/1.171, allocations: 41.7 kB / 1.504 GB, free: 14.69 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/1.172, allocations: 0.546 MB / 1.504 GB, free: 14.14 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/1.172, allocations: 115 kB / 1.505 GB, free: 14.02 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.172, allocations: 89.64 kB / 1.505 GB, free: 13.93 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.172, allocations: 321.9 kB / 1.505 GB, free: 13.61 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/1.172, allocations: 91.92 kB / 1.505 GB, free: 13.52 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/1.173, allocations: 330.5 kB / 1.505 GB, free: 13.1 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/1.173, allocations: 320.6 kB / 1.506 GB, free: 12.74 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.173, allocations: 0 / 1.506 GB, free: 12.74 MB / 1.232 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000791/1.174, allocations: 0.4981 MB / 1.506 GB, free: 12.23 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.174, allocations: 8.438 kB / 1.506 GB, free: 12.22 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.174, allocations: 7.938 kB / 1.506 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/1.175, allocations: 73.61 kB / 1.506 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/1.175, allocations: 55.91 kB / 1.506 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/1.177, allocations: 3.27 MB / 1.509 GB, free: 8.531 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/1.178, allocations: 103.4 kB / 1.51 GB, free: 8.43 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/1.178, allocations: 16 kB / 1.51 GB, free: 8.414 MB / 1.232 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.0003653/1.178, allocations: 277.6 kB / 1.51 GB, free: 8.133 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/1.179, allocations: 139.1 kB / 1.51 GB, free: 7.996 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/1.179, allocations: 131.9 kB / 1.51 GB, free: 7.863 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.179, allocations: 4 kB / 1.51 GB, free: 7.859 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/1.179, allocations: 15.94 kB / 1.51 GB, free: 7.844 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/1.179, allocations: 4 kB / 1.51 GB, free: 7.84 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/1.182, allocations: 2.509 MB / 1.513 GB, free: 5.188 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/1.182, allocations: 8 kB / 1.513 GB, free: 5.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/1.182, allocations: 47.91 kB / 1.513 GB, free: 5.133 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/1.182, allocations: 69.67 kB / 1.513 GB, free: 5.059 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/1.182, allocations: 12 kB / 1.513 GB, free: 5.047 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/1.185, allocations: 3.273 MB / 1.516 GB, free: 1.496 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/1.185, allocations: 12 kB / 1.516 GB, free: 1.484 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/1.186, allocations: 0.6813 MB / 1.517 GB, free: 0.7109 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.186, allocations: 252.1 kB / 1.517 GB, free: 456 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.186, allocations: 15.98 kB / 1.517 GB, free: 440 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/1.187, allocations: 39.95 kB / 1.517 GB, free: 400 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/1.187, allocations: 39.84 kB / 1.517 GB, free: 360 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/1.187, allocations: 19.98 kB / 1.517 GB, free: 340 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001178/1.188, allocations: 0.8802 MB / 1.518 GB, free: 15.45 MB / 1.248 GB Notification: Performance of sort global known variables: time 6.81e-07/1.188, allocations: 0 / 1.518 GB, free: 15.45 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00099/1.189, allocations: 251.8 kB / 1.518 GB, free: 15.21 MB / 1.248 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.0005048/1.19, allocations: 219 kB / 1.518 GB, free: 15 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009333/1.191, allocations: 0.5245 MB / 1.519 GB, free: 14.45 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.191, allocations: 4 kB / 1.519 GB, free: 14.44 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/1.191, allocations: 406.3 kB / 1.519 GB, free: 14.02 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.194, allocations: 0.7505 MB / 1.52 GB, free: 13.27 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/1.197, allocations: 1.868 MB / 1.522 GB, free: 11.3 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/1.198, allocations: 1.127 MB / 1.523 GB, free: 10.15 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008188/1.199, allocations: 242.5 kB / 1.523 GB, free: 9.906 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/1.199, allocations: 87.42 kB / 1.523 GB, free: 9.82 MB / 1.248 GB Notification: Performance of SimCode: time 8.82e-07/1.199, allocations: 0 / 1.523 GB, free: 9.82 MB / 1.248 GB Notification: Performance of Templates: time 0.04699/1.246, allocations: 23.33 MB / 1.546 GB, free: 2.816 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/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