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.001186/0.001186, allocations: 106.5 kB / 16.35 MB, free: 5.875 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.001215/0.001215, allocations: 197.5 kB / 17.3 MB, free: 5.516 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 14.98 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.575/2.575, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.001791, allocations: 64.2 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3526, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8263/1.179, allocations: 241.9 MB / 1.255 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01758/1.197, allocations: 13.53 MB / 1.268 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/1.199, allocations: 59.62 kB / 1.268 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/1.202, allocations: 0.9743 MB / 1.269 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00521/1.207, allocations: 1.791 MB / 1.271 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/1.211, allocations: 1.234 MB / 1.272 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006089/1.217, allocations: 3.262 MB / 1.275 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/1.219, allocations: 1.055 MB / 1.276 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/1.23, allocations: 4.129 MB / 1.28 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/1.232, allocations: 0.8905 MB / 1.281 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003365/1.232, allocations: 76 kB / 1.281 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/1.234, allocations: 0.6975 MB / 1.282 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005274/1.235, allocations: 454.5 kB / 1.282 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008386/1.235, allocations: 0.6761 MB / 1.283 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/1.237, allocations: 1.514 MB / 1.285 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/1.237, allocations: 4 kB / 1.285 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/1.237, allocations: 4 kB / 1.285 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.877e-05/1.237, allocations: 0 / 1.285 GB, free: 8.359 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.002331/1.24, allocations: 1.628 MB / 1.286 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.24, allocations: 8.922 kB / 1.286 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006758/1.241, allocations: 194.2 kB / 1.286 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.242, allocations: 0.9049 MB / 1.287 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/1.242, allocations: 121.4 kB / 1.287 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.242, allocations: 88 kB / 1.288 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/1.244, allocations: 0.9151 MB / 1.288 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.244, allocations: 4 kB / 1.288 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/1.244, allocations: 36 kB / 1.288 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/1.244, allocations: 20 kB / 1.288 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/1.245, allocations: 0.511 MB / 1.289 GB, free: 3.723 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.004924/1.25, allocations: 4.856 MB / 1.294 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/1.25, allocations: 425.9 kB / 1.294 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/1.251, allocations: 267.8 kB / 1.294 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/1.251, allocations: 97.09 kB / 1.294 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.251, allocations: 54.5 kB / 1.295 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.465e-06/1.251, allocations: 0 / 1.295 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001736/1.253, allocations: 0.7834 MB / 1.295 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.253, allocations: 401.4 kB / 1.296 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.254, allocations: 1.267 MB / 1.297 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/1.254, allocations: 41.7 kB / 1.297 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/1.255, allocations: 0.5458 MB / 1.297 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/1.255, allocations: 118.4 kB / 1.298 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/1.255, allocations: 85.59 kB / 1.298 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/1.255, allocations: 318 kB / 1.298 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/1.255, allocations: 87.94 kB / 1.298 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/1.256, allocations: 343.8 kB / 1.298 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/1.256, allocations: 332.4 kB / 1.299 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.256, allocations: 4 kB / 1.299 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007677/1.257, allocations: 493.5 kB / 1.299 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.257, allocations: 8.031 kB / 1.299 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.257, allocations: 4 kB / 1.299 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/1.257, allocations: 69.67 kB / 1.299 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/1.257, allocations: 56 kB / 1.299 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/1.26, allocations: 3.264 MB / 1.302 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/1.26, allocations: 103.2 kB / 1.303 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.26, allocations: 20 kB / 1.303 GB, free: 4.625 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.000345/1.261, allocations: 272.1 kB / 1.303 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/1.261, allocations: 138.3 kB / 1.303 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/1.261, allocations: 128 kB / 1.303 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.261, allocations: 8 kB / 1.303 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.261, allocations: 11.94 kB / 1.303 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/1.261, allocations: 3.984 kB / 1.303 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/1.264, allocations: 2.52 MB / 1.306 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.264, allocations: 8 kB / 1.306 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/1.264, allocations: 47.91 kB / 1.306 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/1.264, allocations: 69.67 kB / 1.306 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/1.264, allocations: 12 kB / 1.306 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/1.267, allocations: 3.266 MB / 1.309 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.267, allocations: 8 kB / 1.309 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/1.267, allocations: 0.6848 MB / 1.31 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/1.268, allocations: 247.4 kB / 1.31 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.268, allocations: 12 kB / 1.31 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/1.269, allocations: 43.94 kB / 1.31 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/1.269, allocations: 39.84 kB / 1.31 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/1.269, allocations: 16 kB / 1.31 GB, free: 12.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001028/1.27, allocations: 0.8802 MB / 1.311 GB, free: 11.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.3e-07/1.27, allocations: 4 kB / 1.311 GB, free: 11.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009881/1.271, allocations: 255.7 kB / 1.311 GB, free: 11.43 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.0004316/1.271, allocations: 214.3 kB / 1.311 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009317/1.272, allocations: 0.5244 MB / 1.312 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.272, allocations: 4.688 kB / 1.312 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/1.273, allocations: 397.1 kB / 1.312 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/1.276, allocations: 0.746 MB / 1.313 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/1.28, allocations: 1.823 MB / 1.315 GB, free: 7.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009733/1.281, allocations: 1.138 MB / 1.316 GB, free: 6.422 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000936/1.282, allocations: 246.5 kB / 1.316 GB, free: 6.176 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/1.282, allocations: 75.44 kB / 1.316 GB, free: 6.105 MB / 1.014 GB Notification: Performance of SimCode: time 1.553e-06/1.282, allocations: 0 / 1.316 GB, free: 6.105 MB / 1.014 GB Notification: Performance of Templates: time 0.0421/1.324, allocations: 23.23 MB / 1.339 GB, free: 15.23 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 cvode -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