Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108.5 kB / 16.41 MB, free: 6.461 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.001119/0.00112, allocations: 187 kB / 17.34 MB, free: 5.719 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 469.4 MB / 0.7428 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.84 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8781, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01688/0.895, allocations: 15.39 MB / 1.236 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006838/0.9019, allocations: 4.674 MB / 1.24 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/0.9026, allocations: 15.88 kB / 1.24 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006605/0.9033, allocations: 186.6 kB / 1.241 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.905, allocations: 0.5868 MB / 1.241 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.9066, allocations: 0.581 MB / 1.242 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.908, allocations: 0.9703 MB / 1.243 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.9084, allocations: 311.5 kB / 1.243 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.9092, allocations: 418.3 kB / 1.243 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.9096, allocations: 314.5 kB / 1.244 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.9097, allocations: 31.94 kB / 1.244 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.9102, allocations: 211.6 kB / 1.244 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.9104, allocations: 87.61 kB / 1.244 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.9106, allocations: 206.8 kB / 1.244 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007134/0.9113, allocations: 0.5041 MB / 1.245 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9113, allocations: 0 / 1.245 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.466e-06/0.9113, allocations: 3.984 kB / 1.245 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.9113, allocations: 0 / 1.245 GB, free: 9.797 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001174/0.9125, allocations: 0.7357 MB / 1.245 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.9125, allocations: 8.031 kB / 1.245 GB, free: 9 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.894e-05/0.9127, allocations: 48.38 kB / 1.246 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.9134, allocations: 406 kB / 1.246 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.9134, allocations: 24.56 kB / 1.246 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.9135, allocations: 24 kB / 1.246 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.9138, allocations: 191.3 kB / 1.246 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.9138, allocations: 0 / 1.246 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.9138, allocations: 12 kB / 1.246 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.9139, allocations: 8 kB / 1.246 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.9141, allocations: 137.6 kB / 1.246 GB, free: 8.129 MB / 0.9669 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.001425/0.9155, allocations: 0.8718 MB / 1.247 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.916, allocations: 110.6 kB / 1.247 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.9161, allocations: 48.84 kB / 1.247 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.9164, allocations: 336.4 kB / 1.248 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.9164, allocations: 38.56 kB / 1.248 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.9164, allocations: 0 / 1.248 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0003725/0.9168, allocations: 177.3 kB / 1.248 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.9168, allocations: 51.41 kB / 1.248 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.9174, allocations: 457.9 kB / 1.248 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.9174, allocations: 29.7 kB / 1.248 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.9176, allocations: 220.3 kB / 1.249 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.9176, allocations: 39.39 kB / 1.249 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.9177, allocations: 57.59 kB / 1.249 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9179, allocations: 354.8 kB / 1.249 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.863e-05/0.918, allocations: 39.98 kB / 1.249 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.9181, allocations: 109.1 kB / 1.249 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.9184, allocations: 147.1 kB / 1.249 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9184, allocations: 0 / 1.249 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003612/0.9187, allocations: 217 kB / 1.249 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.9188, allocations: 4 kB / 1.249 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9188, allocations: 0 / 1.249 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.9188, allocations: 7.938 kB / 1.249 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.919, allocations: 47.91 kB / 1.25 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.919, allocations: 4 kB / 1.25 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.9194, allocations: 39.67 kB / 1.25 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.9194, allocations: 8.062 kB / 1.25 GB, free: 4.512 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.9196, allocations: 157.8 kB / 1.25 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.9197, allocations: 39.53 kB / 1.25 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.92, allocations: 196.4 kB / 1.25 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.92, allocations: 8 kB / 1.25 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.92, allocations: 0 / 1.25 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9201, allocations: 0 / 1.25 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.9209, allocations: 0.6227 MB / 1.251 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9209, allocations: 4.094 kB / 1.251 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.921, allocations: 31.86 kB / 1.251 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.921, allocations: 128 / 1.251 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.921, allocations: 8 kB / 1.251 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.921, allocations: 0 / 1.251 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9211, allocations: 7.938 kB / 1.251 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.9214, allocations: 298.2 kB / 1.251 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.9215, allocations: 128.6 kB / 1.251 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.9216, allocations: 11.92 kB / 1.251 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.9218, allocations: 11.98 kB / 1.251 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.9218, allocations: 11.94 kB / 1.251 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.9219, allocations: 11.98 kB / 1.251 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003825/0.9222, allocations: 323.1 kB / 1.251 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9223, allocations: 4 kB / 1.251 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000442/0.9227, allocations: 103.8 kB / 1.251 GB, free: 2.43 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004871/0.9232, allocations: 212.5 kB / 1.252 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.9235, allocations: 127.8 kB / 1.252 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.9235, allocations: 8 kB / 1.252 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.9236, allocations: 55.91 kB / 1.252 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.9245, allocations: 187.2 kB / 1.252 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.9259, allocations: 0.691 MB / 1.253 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.9263, allocations: 0.8076 MB / 1.254 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.9264, allocations: 35.42 kB / 1.254 GB, free: 260 kB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.9264, allocations: 0 / 1.254 GB, free: 260 kB / 0.9669 GB Notification: Performance of Templates: time 0.009983/0.9364, allocations: 6.277 MB / 1.26 GB, free: 10.05 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches