Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 106.4 kB / 16.41 MB, free: 6.457 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.002402/0.002402, allocations: 192.3 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.909/2.909, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.193/5.193, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 67.84 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512/1.515, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_dp): time 0.6785/2.193, allocations: 325.1 MB / 1.526 GB, free: 7.273 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.05948/2.253, allocations: 22.29 MB / 1.548 GB, free: 0.918 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004704/2.258, allocations: 99.44 kB / 1.548 GB, free: 0.8203 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01314/2.271, allocations: 2.355 MB / 1.55 GB, free: 14.46 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02072/2.292, allocations: 4.523 MB / 1.555 GB, free: 9.918 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.009623/2.301, allocations: 2.558 MB / 1.557 GB, free: 7.367 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 1.403/3.705, allocations: 12.15 MB / 1.569 GB, free: 83.58 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/3.716, allocations: 2.249 MB / 1.571 GB, free: 83.35 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01982/3.736, allocations: 3.276 MB / 1.574 GB, free: 83.35 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008181/3.744, allocations: 1.867 MB / 1.576 GB, free: 83.34 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002069/3.746, allocations: 241.7 kB / 1.576 GB, free: 83.34 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0216/3.768, allocations: 3.877 MB / 1.58 GB, free: 83.34 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.007838/3.776, allocations: 1.159 MB / 1.581 GB, free: 83.34 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.006847/3.783, allocations: 1.714 MB / 1.583 GB, free: 83.34 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0223/3.805, allocations: 5.862 MB / 1.589 GB, free: 82.82 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/3.805, allocations: 0 / 1.589 GB, free: 82.82 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.645e-06/3.805, allocations: 0.875 kB / 1.589 GB, free: 82.82 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001629/3.805, allocations: 2.5 kB / 1.589 GB, free: 82.82 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.02037/3.826, allocations: 3.819 MB / 1.592 GB, free: 80.9 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/3.826, allocations: 8.938 kB / 1.592 GB, free: 80.9 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01846/3.844, allocations: 1.104 MB / 1.593 GB, free: 80.72 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/3.864, allocations: 4.027 MB / 1.597 GB, free: 80.05 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/3.864, allocations: 117.2 kB / 1.598 GB, free: 80.05 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/3.865, allocations: 152.5 kB / 1.598 GB, free: 80.05 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00858/3.874, allocations: 1.727 MB / 1.599 GB, free: 79.83 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-05/3.874, allocations: 6.297 kB / 1.599 GB, free: 79.83 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/3.874, allocations: 63.06 kB / 1.599 GB, free: 79.82 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.195e-05/3.875, allocations: 56.67 kB / 1.599 GB, free: 79.82 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/3.886, allocations: 1.452 MB / 1.601 GB, free: 79.8 MB / 1.279 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.02567/3.912, allocations: 8.699 MB / 1.609 GB, free: 75.38 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/3.916, allocations: 1.028 MB / 1.61 GB, free: 75.16 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/3.918, allocations: 0.4915 MB / 1.611 GB, free: 75.15 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/3.918, allocations: 110.2 kB / 1.611 GB, free: 75.06 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/3.918, allocations: 44.53 kB / 1.611 GB, free: 75.02 MB / 1.279 GB Notification: Performance of pre-optimization done (n=71): time 7.704e-06/3.918, allocations: 1.031 kB / 1.611 GB, free: 75.02 MB / 1.279 GB Notification: Performance of matching and sorting (n=71): time 0.009123/3.928, allocations: 1.648 MB / 1.613 GB, free: 74.73 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/3.928, allocations: 57.84 kB / 1.613 GB, free: 74.67 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/3.938, allocations: 2.985 MB / 1.616 GB, free: 74.38 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003287/3.938, allocations: 46.36 kB / 1.616 GB, free: 74.35 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/3.94, allocations: 1.271 MB / 1.617 GB, free: 74 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005932/3.941, allocations: 266.1 kB / 1.617 GB, free: 73.84 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001741/3.943, allocations: 428.2 kB / 1.618 GB, free: 73.8 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.224e-05/3.943, allocations: 308.5 kB / 1.618 GB, free: 73.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/3.946, allocations: 0.8205 MB / 1.619 GB, free: 73.48 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/3.95, allocations: 1.319 MB / 1.62 GB, free: 72.94 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006254/3.956, allocations: 1.905 MB / 1.622 GB, free: 72.52 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.861e-05/3.956, allocations: 8.312 kB / 1.622 GB, free: 72.52 MB / 1.279 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01404/3.97, allocations: 2.451 MB / 1.624 GB, free: 72.29 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/3.971, allocations: 13.25 kB / 1.624 GB, free: 72.29 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.501e-05/3.971, allocations: 14.22 kB / 1.624 GB, free: 72.29 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004943/3.976, allocations: 70.33 kB / 1.624 GB, free: 72.28 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003758/3.979, allocations: 396.1 kB / 1.625 GB, free: 72.28 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/3.981, allocations: 1.753 MB / 1.626 GB, free: 70.59 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006308/3.987, allocations: 237.5 kB / 1.627 GB, free: 70.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007021/3.988, allocations: 71.98 kB / 1.627 GB, free: 70.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005572/3.993, allocations: 1.442 MB / 1.628 GB, free: 70.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003628/3.997, allocations: 1.291 MB / 1.629 GB, free: 69.87 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005912/4.003, allocations: 1.866 MB / 1.631 GB, free: 69.41 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.922e-05/4.003, allocations: 3.938 kB / 1.631 GB, free: 69.41 MB / 1.279 GB Notification: Performance of matching and sorting (n=255) (initialization_lambda0): time 0.01006/4.013, allocations: 2.472 MB / 1.634 GB, free: 69.06 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/4.013, allocations: 10.03 kB / 1.634 GB, free: 69.06 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/4.013, allocations: 12.31 kB / 1.634 GB, free: 69.06 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/4.013, allocations: 51.73 kB / 1.634 GB, free: 69.05 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/4.016, allocations: 354.3 kB / 1.634 GB, free: 69.05 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/4.018, allocations: 1.649 MB / 1.636 GB, free: 67.55 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004747/4.022, allocations: 189.3 kB / 1.636 GB, free: 67.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/4.023, allocations: 68.42 kB / 1.636 GB, free: 67.5 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (185): * Single equations (assignments): 178 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.005164/4.028, allocations: 273.8 kB / 1.636 GB, free: 67.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/4.03, allocations: 263.2 kB / 1.636 GB, free: 67.16 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006749/4.036, allocations: 1.256 MB / 1.638 GB, free: 66.93 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004464/4.041, allocations: 1.034 MB / 1.639 GB, free: 66.64 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/4.041, allocations: 3.094 kB / 1.639 GB, free: 66.64 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006765/4.048, allocations: 476.2 kB / 1.639 GB, free: 66.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/4.049, allocations: 14.84 kB / 1.639 GB, free: 66.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003854/4.053, allocations: 82 kB / 1.639 GB, free: 66.39 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/4.053, allocations: 49.34 kB / 1.639 GB, free: 66.39 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006602/4.06, allocations: 1.15 MB / 1.64 GB, free: 66.21 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01222/4.072, allocations: 1.778 MB / 1.642 GB, free: 65.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002161/4.074, allocations: 436.3 kB / 1.642 GB, free: 65.79 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007394/4.082, allocations: 1.993 MB / 1.644 GB, free: 65.64 MB / 1.279 GB Notification: Performance of Backend: time 3.817e-06/4.082, allocations: 0 / 1.644 GB, free: 65.64 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02219/4.104, allocations: 3.442 MB / 1.648 GB, free: 65.23 MB / 1.279 GB Notification: Performance of SimCode: time 0.02903/4.133, allocations: 6.348 MB / 1.654 GB, free: 62.72 MB / 1.279 GB Notification: Performance of Templates: time 0.2086/4.342, allocations: 65.04 MB / 1.718 GB, free: 12.29 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_FlowControlled_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches