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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.01052/0.01052, allocations: 104.7 kB / 15.74 MB, free: 6.02 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.001645/0.001646, allocations: 188 kB / 16.67 MB, free: 5.941 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.421/1.421, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.989/0.9903, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2514/1.242, allocations: 241.9 MB / 1.403 GB, free: 1.016 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02707/1.269, allocations: 13.52 MB / 1.416 GB, free: 3.453 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003736/1.273, allocations: 59.62 kB / 1.416 GB, free: 3.395 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003476/1.276, allocations: 0.986 MB / 1.417 GB, free: 2.402 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/1.282, allocations: 1.78 MB / 1.419 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/1.286, allocations: 1.238 MB / 1.42 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005492/1.292, allocations: 3.267 MB / 1.423 GB, free: 12.11 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/1.294, allocations: 1.039 MB / 1.424 GB, free: 11.05 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/1.306, allocations: 4.125 MB / 1.428 GB, free: 6.906 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/1.308, allocations: 0.9022 MB / 1.429 GB, free: 6 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004223/1.308, allocations: 76 kB / 1.429 GB, free: 5.926 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/1.31, allocations: 0.6975 MB / 1.43 GB, free: 5.227 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006926/1.311, allocations: 438.6 kB / 1.43 GB, free: 4.797 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/1.313, allocations: 0.6839 MB / 1.431 GB, free: 4.109 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/1.316, allocations: 1.529 MB / 1.432 GB, free: 2.574 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.316, allocations: 0 / 1.432 GB, free: 2.574 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.963e-06/1.316, allocations: 4 kB / 1.432 GB, free: 2.57 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.489e-05/1.316, allocations: 0 / 1.432 GB, free: 2.57 MB / 1.154 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.00425/1.32, allocations: 1.669 MB / 1.434 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/1.32, allocations: 12.92 kB / 1.434 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.321, allocations: 202.9 kB / 1.434 GB, free: 0.6367 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/1.323, allocations: 0.9178 MB / 1.435 GB, free: 15.66 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/1.323, allocations: 125.4 kB / 1.435 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.323, allocations: 84 kB / 1.435 GB, free: 15.45 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/1.325, allocations: 0.9142 MB / 1.436 GB, free: 14.44 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.325, allocations: 11.94 kB / 1.436 GB, free: 14.43 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/1.325, allocations: 32 kB / 1.436 GB, free: 14.4 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/1.325, allocations: 20 kB / 1.436 GB, free: 14.38 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/1.326, allocations: 0.5071 MB / 1.437 GB, free: 13.87 MB / 1.17 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.005113/1.331, allocations: 4.866 MB / 1.442 GB, free: 8.695 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/1.332, allocations: 428.5 kB / 1.442 GB, free: 8.148 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/1.332, allocations: 259.9 kB / 1.442 GB, free: 7.852 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/1.332, allocations: 109 kB / 1.442 GB, free: 7.727 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.332, allocations: 46.28 kB / 1.442 GB, free: 7.672 MB / 1.17 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/1.332, allocations: 4 kB / 1.442 GB, free: 7.668 MB / 1.17 GB Notification: Performance of matching and sorting (n=31): time 0.002173/1.335, allocations: 0.7944 MB / 1.443 GB, free: 6.824 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00027/1.335, allocations: 401.5 kB / 1.444 GB, free: 6.34 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/1.337, allocations: 1.268 MB / 1.445 GB, free: 5.062 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.337, allocations: 41.7 kB / 1.445 GB, free: 5.016 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/1.337, allocations: 0.5499 MB / 1.445 GB, free: 4.461 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.338, allocations: 115 kB / 1.446 GB, free: 4.348 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.338, allocations: 89.64 kB / 1.446 GB, free: 4.254 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.338, allocations: 321.9 kB / 1.446 GB, free: 3.934 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/1.338, allocations: 87.94 kB / 1.446 GB, free: 3.848 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/1.339, allocations: 337.1 kB / 1.446 GB, free: 3.426 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/1.339, allocations: 320.6 kB / 1.447 GB, free: 3.066 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/1.339, allocations: 8 kB / 1.447 GB, free: 3.059 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001/1.34, allocations: 0.4982 MB / 1.447 GB, free: 2.547 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.34, allocations: 12.03 kB / 1.447 GB, free: 2.535 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.34, allocations: 4 kB / 1.447 GB, free: 2.531 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/1.341, allocations: 73.8 kB / 1.447 GB, free: 2.453 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/1.341, allocations: 51.91 kB / 1.447 GB, free: 2.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/1.344, allocations: 3.255 MB / 1.45 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/1.344, allocations: 107.4 kB / 1.451 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.344, allocations: 16 kB / 1.451 GB, free: 14.75 MB / 1.186 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.0005011/1.345, allocations: 281.6 kB / 1.451 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/1.345, allocations: 143.1 kB / 1.451 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/1.346, allocations: 128 kB / 1.451 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.346, allocations: 15.94 kB / 1.451 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.346, allocations: 4 kB / 1.451 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.346, allocations: 7.984 kB / 1.451 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/1.349, allocations: 2.509 MB / 1.454 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.349, allocations: 8 kB / 1.454 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.349, allocations: 55.84 kB / 1.454 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001728/1.349, allocations: 69.67 kB / 1.454 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/1.349, allocations: 12 kB / 1.454 GB, free: 11.37 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/1.351, allocations: 3.258 MB / 1.457 GB, free: 7.824 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.351, allocations: 12 kB / 1.457 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/1.352, allocations: 0.6933 MB / 1.458 GB, free: 7.027 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/1.353, allocations: 260.1 kB / 1.458 GB, free: 6.754 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.353, allocations: 15.94 kB / 1.458 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000624/1.353, allocations: 39.94 kB / 1.458 GB, free: 6.699 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/1.353, allocations: 43.78 kB / 1.458 GB, free: 6.656 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/1.353, allocations: 16 kB / 1.458 GB, free: 6.641 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001122/1.355, allocations: 0.8841 MB / 1.459 GB, free: 5.758 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/1.355, allocations: 0 / 1.459 GB, free: 5.758 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009055/1.356, allocations: 255.8 kB / 1.459 GB, free: 5.508 MB / 1.186 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.0005038/1.356, allocations: 221.3 kB / 1.459 GB, free: 5.297 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008886/1.357, allocations: 0.5165 MB / 1.46 GB, free: 4.754 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.357, allocations: 0 / 1.46 GB, free: 4.754 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/1.357, allocations: 410 kB / 1.46 GB, free: 4.328 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/1.361, allocations: 0.7443 MB / 1.461 GB, free: 3.59 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/1.363, allocations: 1.858 MB / 1.463 GB, free: 1.629 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/1.364, allocations: 1.134 MB / 1.464 GB, free: 476 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006372/1.364, allocations: 238.5 kB / 1.464 GB, free: 232 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/1.365, allocations: 83.44 kB / 1.464 GB, free: 152 kB / 1.186 GB Notification: Performance of SimCode: time 2.5e-07/1.365, allocations: 0 / 1.464 GB, free: 152 kB / 1.186 GB Notification: Performance of Templates: time 0.04153/1.406, allocations: 23.34 MB / 1.487 GB, free: 9.105 MB / 1.217 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches