Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_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.008767/0.008767, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001761/0.001761, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.388/1.388, 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 9.1.3-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.83 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7947, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2785/1.073, allocations: 241.9 MB / 1.324 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01896/1.092, allocations: 13.53 MB / 1.337 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/1.095, allocations: 59.62 kB / 1.337 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003755/1.099, allocations: 0.9821 MB / 1.338 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006934/1.106, allocations: 1.779 MB / 1.34 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/1.11, allocations: 1.238 MB / 1.341 GB, free: 9.977 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005073/1.115, allocations: 3.266 MB / 1.344 GB, free: 6.695 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/1.117, allocations: 1.051 MB / 1.345 GB, free: 5.625 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/1.128, allocations: 4.141 MB / 1.349 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/1.13, allocations: 0.8982 MB / 1.35 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004368/1.13, allocations: 76 kB / 1.35 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/1.132, allocations: 0.6975 MB / 1.351 GB, free: 15.79 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007123/1.133, allocations: 442.6 kB / 1.351 GB, free: 15.36 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/1.134, allocations: 0.6839 MB / 1.352 GB, free: 14.67 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/1.138, allocations: 1.522 MB / 1.353 GB, free: 13.14 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.138, allocations: 4 kB / 1.353 GB, free: 13.14 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.824e-06/1.138, allocations: 0 / 1.353 GB, free: 13.14 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.038e-05/1.138, allocations: 0 / 1.353 GB, free: 13.14 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.003246/1.141, allocations: 1.627 MB / 1.355 GB, free: 11.46 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.141, allocations: 16.02 kB / 1.355 GB, free: 11.44 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/1.141, allocations: 118.7 kB / 1.355 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/1.142, allocations: 198.2 kB / 1.355 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/1.144, allocations: 0.9088 MB / 1.356 GB, free: 10.16 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/1.144, allocations: 121.4 kB / 1.356 GB, free: 10.03 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/1.144, allocations: 84 kB / 1.356 GB, free: 9.945 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/1.146, allocations: 0.922 MB / 1.357 GB, free: 8.934 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/1.146, allocations: 7.938 kB / 1.357 GB, free: 8.926 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/1.146, allocations: 35.98 kB / 1.357 GB, free: 8.891 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/1.146, allocations: 20 kB / 1.357 GB, free: 8.871 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009197/1.147, allocations: 0.5033 MB / 1.358 GB, free: 8.363 MB / 1.092 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.005411/1.152, allocations: 4.857 MB / 1.363 GB, free: 3.199 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/1.153, allocations: 424.6 kB / 1.363 GB, free: 2.656 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/1.153, allocations: 267.8 kB / 1.363 GB, free: 2.352 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/1.153, allocations: 97.11 kB / 1.363 GB, free: 2.238 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/1.154, allocations: 54.48 kB / 1.363 GB, free: 2.176 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/1.154, allocations: 0 / 1.363 GB, free: 2.176 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001816/1.155, allocations: 0.782 MB / 1.364 GB, free: 1.344 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/1.156, allocations: 401.5 kB / 1.365 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/1.157, allocations: 1.268 MB / 1.366 GB, free: 15.58 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/1.157, allocations: 37.7 kB / 1.366 GB, free: 15.54 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/1.158, allocations: 0.5534 MB / 1.366 GB, free: 14.98 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/1.158, allocations: 102.4 kB / 1.366 GB, free: 14.88 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/1.158, allocations: 85.59 kB / 1.367 GB, free: 14.79 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.158, allocations: 325.9 kB / 1.367 GB, free: 14.46 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/1.158, allocations: 91.86 kB / 1.367 GB, free: 14.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/1.159, allocations: 334.3 kB / 1.367 GB, free: 13.95 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/1.159, allocations: 332.5 kB / 1.368 GB, free: 13.58 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.159, allocations: 0 / 1.368 GB, free: 13.58 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009012/1.16, allocations: 0.4898 MB / 1.368 GB, free: 13.08 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.16, allocations: 8 kB / 1.368 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.16, allocations: 0 / 1.368 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/1.161, allocations: 73.61 kB / 1.368 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.161, allocations: 59.91 kB / 1.368 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/1.163, allocations: 3.266 MB / 1.371 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/1.164, allocations: 95.17 kB / 1.371 GB, free: 9.297 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/1.164, allocations: 23.98 kB / 1.371 GB, free: 9.273 MB / 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.0004648/1.165, allocations: 269.7 kB / 1.372 GB, free: 9 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/1.165, allocations: 142.4 kB / 1.372 GB, free: 8.859 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/1.165, allocations: 128 kB / 1.372 GB, free: 8.73 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.165, allocations: 11.94 kB / 1.372 GB, free: 8.719 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.165, allocations: 4 kB / 1.372 GB, free: 8.715 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.165, allocations: 4 kB / 1.372 GB, free: 8.711 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/1.169, allocations: 2.516 MB / 1.374 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.169, allocations: 4 kB / 1.374 GB, free: 6.047 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/1.169, allocations: 47.91 kB / 1.374 GB, free: 6 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/1.169, allocations: 70.08 kB / 1.375 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/1.169, allocations: 16 kB / 1.375 GB, free: 5.91 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/1.172, allocations: 3.265 MB / 1.378 GB, free: 2.363 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.172, allocations: 4 kB / 1.378 GB, free: 2.359 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.173, allocations: 0.6767 MB / 1.378 GB, free: 1.59 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/1.174, allocations: 247.5 kB / 1.379 GB, free: 1.328 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/1.174, allocations: 12 kB / 1.379 GB, free: 1.316 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007725/1.175, allocations: 43.95 kB / 1.379 GB, free: 1.273 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/1.175, allocations: 48 kB / 1.379 GB, free: 1.227 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/1.175, allocations: 12 kB / 1.379 GB, free: 1.215 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001241/1.176, allocations: 0.8841 MB / 1.38 GB, free: 340 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.176, allocations: 4 kB / 1.38 GB, free: 336 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.001208/1.177, allocations: 255.7 kB / 1.38 GB, free: 80 kB / 1.107 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.001734/1.179, allocations: 1.33 MB / 1.381 GB, free: 14.66 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000976/1.18, allocations: 0.5208 MB / 1.382 GB, free: 14.11 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.18, allocations: 0 / 1.382 GB, free: 14.11 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005423/1.181, allocations: 402.6 kB / 1.382 GB, free: 13.69 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/1.184, allocations: 0.7566 MB / 1.383 GB, free: 12.94 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.196, allocations: 8.194 MB / 1.391 GB, free: 4.391 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000854/1.197, allocations: 1.138 MB / 1.392 GB, free: 3.223 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009349/1.198, allocations: 238.5 kB / 1.392 GB, free: 2.984 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/1.198, allocations: 447.3 kB / 1.393 GB, free: 2.547 MB / 1.123 GB Notification: Performance of SimCode: time 8.72e-07/1.198, allocations: 0 / 1.393 GB, free: 2.547 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07084/1.269, allocations: 34.81 MB / 1.427 GB, free: 304 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/13.12, allocations: 14.38 kB / 1.427 GB, free: 292 kB / 1.154 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches