Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.002191/0.002191, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.545/1.545, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 60.28 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4688, allocations: 168.7 MB / 1.262 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.0348/0.5036, allocations: 29.11 MB / 1.29 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.5147, allocations: 6.812 MB / 1.297 GB, free: 8.934 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.516, allocations: 35.81 kB / 1.297 GB, free: 8.898 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.5172, allocations: 425 kB / 1.298 GB, free: 8.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.5211, allocations: 1.367 MB / 1.299 GB, free: 7.109 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.5231, allocations: 0.6428 MB / 1.3 GB, free: 6.469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003456/0.5265, allocations: 2.159 MB / 1.302 GB, free: 4.301 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007948/0.5273, allocations: 484.9 kB / 1.302 GB, free: 3.812 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.529, allocations: 0.817 MB / 1.303 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.5298, allocations: 0.5521 MB / 1.303 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.604e-05/0.5299, allocations: 40 kB / 1.303 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.5321, allocations: 1.01 MB / 1.304 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.5323, allocations: 159.2 kB / 1.305 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.5328, allocations: 373.9 kB / 1.305 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.535, allocations: 1.23 MB / 1.306 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.535, allocations: 0 / 1.306 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.003e-06/0.535, allocations: 0 / 1.306 GB, free: 15.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.535, allocations: 4 kB / 1.306 GB, free: 15.62 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00179/0.5368, allocations: 1.166 MB / 1.307 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5368, allocations: 12.03 kB / 1.307 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.537, allocations: 92.38 kB / 1.307 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5386, allocations: 0.7814 MB / 1.308 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.5386, allocations: 29 kB / 1.308 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.5387, allocations: 40 kB / 1.308 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.5392, allocations: 322.5 kB / 1.309 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5392, allocations: 3.938 kB / 1.309 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.5393, allocations: 16 kB / 1.309 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.5393, allocations: 8 kB / 1.309 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.5397, allocations: 235.9 kB / 1.309 GB, free: 12.84 MB / 1.029 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.002187/0.5419, allocations: 1.462 MB / 1.31 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.5421, allocations: 141.5 kB / 1.31 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.5423, allocations: 105.7 kB / 1.31 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006832/0.543, allocations: 0.8194 MB / 1.311 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.543, allocations: 34.56 kB / 1.311 GB, free: 9.949 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/0.543, allocations: 0 / 1.311 GB, free: 9.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0006161/0.5436, allocations: 319.5 kB / 1.312 GB, free: 9.633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5437, allocations: 51.41 kB / 1.312 GB, free: 9.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009088/0.5446, allocations: 0.7196 MB / 1.312 GB, free: 8.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.5446, allocations: 29.7 kB / 1.312 GB, free: 8.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.5449, allocations: 372.1 kB / 1.313 GB, free: 8.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.545, allocations: 71.42 kB / 1.313 GB, free: 8.367 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.5452, allocations: 102 kB / 1.313 GB, free: 8.262 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.5454, allocations: 318 kB / 1.313 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.5457, allocations: 114.5 kB / 1.313 GB, free: 7.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.5461, allocations: 276 kB / 1.314 GB, free: 7.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.5466, allocations: 352 kB / 1.314 GB, free: 7.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.5466, allocations: 0 / 1.314 GB, free: 7.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000736/0.5473, allocations: 440.6 kB / 1.314 GB, free: 6.652 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5473, allocations: 8 kB / 1.314 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5473, allocations: 4 kB / 1.314 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5474, allocations: 11.94 kB / 1.314 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004635/0.552, allocations: 0.687 MB / 1.315 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008899/0.5529, allocations: 1.195 MB / 1.316 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.5534, allocations: 51.86 kB / 1.316 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.5534, allocations: 23.98 kB / 1.316 GB, free: 4.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003911/0.5538, allocations: 244.9 kB / 1.316 GB, free: 4.383 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003523/0.5542, allocations: 281.7 kB / 1.317 GB, free: 4.027 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004498/0.5546, allocations: 357.8 kB / 1.317 GB, free: 3.613 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.5546, allocations: 4 kB / 1.317 GB, free: 3.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007126/0.5553, allocations: 436.6 kB / 1.318 GB, free: 3.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5553, allocations: 8 kB / 1.318 GB, free: 3.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5554, allocations: 4 kB / 1.318 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.5554, allocations: 11.94 kB / 1.318 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004427/0.5598, allocations: 0.6792 MB / 1.318 GB, free: 2.473 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008325/0.5606, allocations: 1.203 MB / 1.319 GB, free: 1.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.5611, allocations: 43.75 kB / 1.319 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.5611, allocations: 20.17 kB / 1.319 GB, free: 1.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.5614, allocations: 222.7 kB / 1.32 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.5615, allocations: 71.53 kB / 1.32 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007674/0.5623, allocations: 392.3 kB / 1.32 GB, free: 476 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5623, allocations: 0 / 1.32 GB, free: 476 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5623, allocations: 4 kB / 1.32 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.5626, allocations: 180.4 kB / 1.32 GB, free: 272 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/0.5626, allocations: 8 kB / 1.32 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.5628, allocations: 8 kB / 1.32 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.5629, allocations: 15.97 kB / 1.32 GB, free: 240 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000481/0.5634, allocations: 344.8 kB / 1.321 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005441/0.5639, allocations: 490.1 kB / 1.321 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001494/0.5641, allocations: 106.5 kB / 1.321 GB, free: 15.29 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006445/0.5647, allocations: 0.5029 MB / 1.322 GB, free: 14.79 MB / 1.045 GB Notification: Performance of Backend: time 2.9e-07/0.5647, allocations: 0 / 1.322 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01482/0.5795, allocations: 2.505 MB / 1.324 GB, free: 12.29 MB / 1.045 GB Notification: Performance of SimCode: time 0.003085/0.5826, allocations: 1.689 MB / 1.326 GB, free: 10.55 MB / 1.045 GB Notification: Performance of Templates: time 0.02862/0.6112, allocations: 14.79 MB / 1.34 GB, free: 11.93 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches