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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007741/0.007741, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001865/0.001865, allocations: 199.5 kB / 16.67 MB, free: 5.977 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.593/2.593, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3207, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 1.03/1.351, allocations: 241.9 MB / 1.402 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02062/1.371, allocations: 13.53 MB / 1.416 GB, free: 0.5 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/1.374, allocations: 58.81 kB / 1.416 GB, free: 488 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003296/1.377, allocations: 1.017 MB / 1.417 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005321/1.383, allocations: 1.857 MB / 1.418 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/1.386, allocations: 1.249 MB / 1.42 GB, free: 13.26 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004565/1.391, allocations: 3.264 MB / 1.423 GB, free: 11.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/1.393, allocations: 1.044 MB / 1.424 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01025/1.403, allocations: 4.26 MB / 1.428 GB, free: 7.949 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/1.405, allocations: 0.8981 MB / 1.429 GB, free: 7.418 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004416/1.405, allocations: 83.62 kB / 1.429 GB, free: 7.414 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/1.408, allocations: 0.6997 MB / 1.43 GB, free: 6.902 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007168/1.408, allocations: 442.6 kB / 1.43 GB, free: 6.469 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/1.41, allocations: 0.6878 MB / 1.431 GB, free: 5.777 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003049/1.413, allocations: 1.518 MB / 1.432 GB, free: 4.254 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.413, allocations: 4 kB / 1.432 GB, free: 4.25 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.164e-06/1.413, allocations: 0 / 1.432 GB, free: 4.25 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.636e-05/1.413, allocations: 0 / 1.432 GB, free: 4.25 MB / 1.092 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.003052/1.416, allocations: 1.615 MB / 1.434 GB, free: 2.582 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.416, allocations: 12.03 kB / 1.434 GB, free: 2.57 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/1.416, allocations: 130.7 kB / 1.434 GB, free: 2.434 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007444/1.417, allocations: 202.1 kB / 1.434 GB, free: 2.234 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/1.419, allocations: 0.9011 MB / 1.435 GB, free: 1.277 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/1.419, allocations: 125.4 kB / 1.435 GB, free: 1.141 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.419, allocations: 80 kB / 1.435 GB, free: 1.062 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/1.42, allocations: 0.9143 MB / 1.436 GB, free: 60 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.42, allocations: 7.938 kB / 1.436 GB, free: 52 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/1.42, allocations: 32 kB / 1.436 GB, free: 20 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/1.42, allocations: 24.05 kB / 1.436 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/1.421, allocations: 0.5082 MB / 1.437 GB, free: 15.49 MB / 1.107 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.005108/1.427, allocations: 4.864 MB / 1.441 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/1.427, allocations: 418 kB / 1.442 GB, free: 9.777 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/1.427, allocations: 259.9 kB / 1.442 GB, free: 9.48 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/1.428, allocations: 105.2 kB / 1.442 GB, free: 9.359 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/1.428, allocations: 51.38 kB / 1.442 GB, free: 9.301 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.755e-06/1.428, allocations: 0 / 1.442 GB, free: 9.301 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001939/1.43, allocations: 0.7817 MB / 1.443 GB, free: 8.469 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/1.43, allocations: 401.9 kB / 1.443 GB, free: 7.984 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.432, allocations: 1.275 MB / 1.445 GB, free: 6.699 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/1.432, allocations: 33.7 kB / 1.445 GB, free: 6.66 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/1.432, allocations: 0.5496 MB / 1.445 GB, free: 6.105 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/1.432, allocations: 106.4 kB / 1.445 GB, free: 6 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.432, allocations: 85.69 kB / 1.445 GB, free: 5.91 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.433, allocations: 325.9 kB / 1.446 GB, free: 5.586 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/1.433, allocations: 87.94 kB / 1.446 GB, free: 5.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/1.433, allocations: 330.5 kB / 1.446 GB, free: 5.082 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/1.434, allocations: 328.5 kB / 1.446 GB, free: 4.715 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.434, allocations: 4 kB / 1.446 GB, free: 4.711 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009623/1.435, allocations: 0.4895 MB / 1.447 GB, free: 4.207 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.435, allocations: 8 kB / 1.447 GB, free: 4.199 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.435, allocations: 5.906 kB / 1.447 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/1.435, allocations: 73.66 kB / 1.447 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/1.435, allocations: 63.91 kB / 1.447 GB, free: 4.055 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/1.438, allocations: 3.254 MB / 1.45 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/1.439, allocations: 99.12 kB / 1.45 GB, free: 440 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/1.439, allocations: 20 kB / 1.45 GB, free: 420 kB / 1.107 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.0004847/1.439, allocations: 275.8 kB / 1.451 GB, free: 136 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/1.44, allocations: 134.4 kB / 1.451 GB, free: 0 / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/1.44, allocations: 124 kB / 1.451 GB, free: 15.88 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.44, allocations: 8 kB / 1.451 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.44, allocations: 7.938 kB / 1.451 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.44, allocations: 11.98 kB / 1.451 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/1.444, allocations: 2.52 MB / 1.453 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.444, allocations: 4 kB / 1.453 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/1.444, allocations: 59.91 kB / 1.453 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/1.444, allocations: 69.67 kB / 1.453 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/1.444, allocations: 12 kB / 1.453 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/1.447, allocations: 3.255 MB / 1.457 GB, free: 9.5 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.447, allocations: 12.11 kB / 1.457 GB, free: 9.488 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/1.448, allocations: 0.6921 MB / 1.457 GB, free: 8.703 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006024/1.449, allocations: 247.4 kB / 1.458 GB, free: 8.441 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/1.449, allocations: 12 kB / 1.458 GB, free: 8.43 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/1.45, allocations: 39.94 kB / 1.458 GB, free: 8.391 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.45, allocations: 47.78 kB / 1.458 GB, free: 8.344 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/1.45, allocations: 20 kB / 1.458 GB, free: 8.324 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001466/1.452, allocations: 0.8763 MB / 1.459 GB, free: 7.449 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.91e-07/1.452, allocations: 0 / 1.459 GB, free: 7.449 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001132/1.453, allocations: 259.7 kB / 1.459 GB, free: 7.195 MB / 1.123 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.001775/1.455, allocations: 1.333 MB / 1.46 GB, free: 5.773 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.456, allocations: 0.5208 MB / 1.461 GB, free: 5.227 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.456, allocations: 4 kB / 1.461 GB, free: 5.223 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005413/1.456, allocations: 398.2 kB / 1.461 GB, free: 4.809 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/1.46, allocations: 0.741 MB / 1.462 GB, free: 4.074 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.471, allocations: 8.224 MB / 1.47 GB, free: 11.49 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007943/1.472, allocations: 1.13 MB / 1.471 GB, free: 10.33 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008627/1.473, allocations: 238.5 kB / 1.471 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/1.474, allocations: 443.3 kB / 1.472 GB, free: 9.66 MB / 1.139 GB Notification: Performance of SimCode: time 1.283e-06/1.474, allocations: 0 / 1.472 GB, free: 9.66 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06897/1.543, allocations: 34.24 MB / 1.505 GB, free: 7.965 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/13.17, allocations: 12.59 kB / 1.505 GB, free: 7.957 MB / 1.17 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > 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